Fix #21189: vertex paint not working with mirror modifier.
This commit is contained in:
@@ -2125,7 +2125,7 @@ static void mesh_build_data(Scene *scene, Object *ob, CustomDataMask dataMask)
|
||||
Object *obact = scene->basact?scene->basact->object:NULL;
|
||||
int editing = paint_facesel_test(ob);
|
||||
/* weight paint and face select need original indicies because of selection buffer drawing */
|
||||
int needMapping = (ob==obact) && (editing || (ob->mode & OB_MODE_WEIGHT_PAINT) || editing);
|
||||
int needMapping = (ob==obact) && (editing || (ob->mode & (OB_MODE_WEIGHT_PAINT|OB_MODE_VERTEX_PAINT)) || editing);
|
||||
|
||||
clear_mesh_caches(ob);
|
||||
|
||||
|
Reference in New Issue
Block a user