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:
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)
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue