diff options
author | Jacques Lucke <jacques@blender.org> | 2021-05-26 17:20:24 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-05-26 17:20:24 +0300 |
commit | 3f27efd31ebede79f7dc262e608cf83bda223669 (patch) | |
tree | e12cef7805c0ad5f8c9e7a42880efc3382c5317c /source/blender/modifiers/intern/MOD_nodes.cc | |
parent | 06f86dd4d9a2a4250279f40acb6ca48191a094da (diff) | |
parent | ba5b4d1bd68e8b9a12279d8be9e6d84f496bd44b (diff) |
Merge branch 'blender-v2.93-release'
Diffstat (limited to 'source/blender/modifiers/intern/MOD_nodes.cc')
-rw-r--r-- | source/blender/modifiers/intern/MOD_nodes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_nodes.cc b/source/blender/modifiers/intern/MOD_nodes.cc index 37a21a3c14b..f927f4b1bcd 100644 --- a/source/blender/modifiers/intern/MOD_nodes.cc +++ b/source/blender/modifiers/intern/MOD_nodes.cc @@ -179,7 +179,7 @@ static void add_object_relation(const ModifierUpdateDepsgraphContext *ctx, Objec if (object.type == OB_EMPTY && object.instance_collection != nullptr) { add_collection_relation(ctx, *object.instance_collection); } - else if (ELEM(object.type, OB_MESH, OB_POINTCLOUD, OB_VOLUME, OB_CURVE)) { + else if (DEG_object_has_geometry_component(&object)) { DEG_add_object_relation(ctx->node, &object, DEG_OB_COMP_GEOMETRY, "Nodes Modifier"); DEG_add_customdata_mask(ctx->node, &object, &dependency_data_mask); } |