Fix #106247: Remove incorrect selection check when in multi-mesh #106350
|
@ -1629,9 +1629,6 @@ static void object_get_datamask(const Depsgraph *depsgraph,
|
|||
CustomData_MeshMasks *r_mask,
|
||||
bool *r_need_mapping)
|
||||
{
|
||||
Scene *scene = DEG_get_evaluated_scene(depsgraph);
|
||||
ViewLayer *view_layer = DEG_get_evaluated_view_layer(depsgraph);
|
||||
|
||||
DEG_get_customdata_mask_for_object(depsgraph, ob, r_mask);
|
||||
|
||||
if (r_need_mapping) {
|
||||
|
@ -1644,13 +1641,8 @@ static void object_get_datamask(const Depsgraph *depsgraph,
|
|||
return;
|
||||
}
|
||||
|
||||
BKE_view_layer_synced_ensure(scene, view_layer);
|
||||
Object *actob = BKE_view_layer_active_object_get(view_layer);
|
||||
if (actob) {
|
||||
actob = DEG_get_original_object(actob);
|
||||
}
|
||||
if (DEG_get_original_object(ob) == actob) {
|
||||
bool editing = BKE_paint_select_face_test(actob);
|
||||
Object *origob = DEG_get_original_object(ob);
|
||||
bool editing = BKE_paint_select_face_test(origob);
|
||||
|
||||
/* weight paint and face select need original indices because of selection buffer drawing */
|
||||
if (r_need_mapping) {
|
||||
|
@ -1676,7 +1668,6 @@ static void object_get_datamask(const Depsgraph *depsgraph,
|
|||
r_mask->vmask |= CD_MASK_MVERT_SKIN;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void makeDerivedMesh(struct Depsgraph *depsgraph,
|
||||
const Scene *scene,
|
||||
|
|
Loading…
Reference in New Issue