Correction to previous commit.

There is no guarantee that given ob pointer is not also an evaluated one
here...
This commit is contained in:
Bastien Montagne 2018-06-19 18:29:40 +02:00
parent 5372da0121
commit 1292aae5c0
1 changed files with 1 additions and 1 deletions

View File

@ -3062,7 +3062,7 @@ static CustomDataMask object_get_datamask(const Depsgraph *depsgraph, Object *ob
*r_need_mapping = false;
}
if (ob == actob) {
if (DEG_get_original_object(ob) == actob) {
bool editing = BKE_paint_select_face_test(ob);
/* weight paint and face select need original indices because of selection buffer drawing */