diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-08-04 16:47:35 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-08-04 17:02:44 +0300 |
commit | 0828361889d440f6f978d7f77a809ee9b78f219b (patch) | |
tree | c8a84e335130b4408a401d19944a3cfb306c67e4 /source/blender/depsgraph/intern | |
parent | 67b92418ee7e8519d20c35a685676b41ca3e5c37 (diff) |
Cleanup: Redundant check in depsgraph builder
The build_object_data_geometry() is never called on armatures.
Diffstat (limited to 'source/blender/depsgraph/intern')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc index f36d94c7563..cbc95a5d1a9 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc @@ -2263,12 +2263,7 @@ void DepsgraphRelationBuilder::build_object_data_geometry(Object *object) // add geometry collider relations } /* Make sure uber update is the last in the dependencies. */ - if (object->type != OB_ARMATURE) { - /* Armatures does no longer require uber node. */ - OperationKey obdata_ubereval_key( - &object->id, NodeType::GEOMETRY, OperationCode::GEOMETRY_EVAL); - add_relation(geom_init_key, obdata_ubereval_key, "Object Geometry UberEval"); - } + add_relation(geom_init_key, obdata_ubereval_key, "Object Geometry UberEval"); if (object->type == OB_MBALL) { Object *mom = BKE_mball_basis_find(scene_, object); ComponentKey mom_geom_key(&mom->id, NodeType::GEOMETRY); |