Fix crash when using multiple Sculpt Vertex Color layers for rendering

This line was probable left there after a bad merge.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D9367
This commit is contained in:
Pablo Dobarro 2020-10-27 20:38:47 +01:00
parent 0270223552
commit 492a9e4023
Notes: blender-bot 2023-02-14 10:18:56 +01:00
Referenced by issue #79328, Sculpt vertex color render mode issue when a 2nd layer is used in a shader (crash, artifacts)
1 changed files with 0 additions and 2 deletions

View File

@ -2800,8 +2800,6 @@ static void *extract_vcol_init(const MeshRenderData *mr, struct MeshBatchCache *
vcol_data->a = unit_float_to_ushort_clamp(vcol[loops[ml_index].v].color[3]);
}
}
vcol_data += mr->loop_len;
}
}
return NULL;