ModStack: Fix broken object_get_datamask helper.
Would compare evaluated ob pointer to original one... Found while investigating some errors in incomming cleanup, but this was probably generating lost of other issues in some cases...
This commit is contained in:
@@ -3055,7 +3055,7 @@ static void editbmesh_build_data(
|
||||
static CustomDataMask object_get_datamask(const Depsgraph *depsgraph, Object *ob, bool *r_need_mapping)
|
||||
{
|
||||
ViewLayer *view_layer = DEG_get_evaluated_view_layer(depsgraph);
|
||||
Object *actob = view_layer->basact ? view_layer->basact->object : NULL;
|
||||
Object *actob = view_layer->basact ? DEG_get_original_object(view_layer->basact->object) : NULL;
|
||||
CustomDataMask mask = ob->customdata_mask;
|
||||
|
||||
if (r_need_mapping) {
|
||||
|
||||
Reference in New Issue
Block a user