Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/depsgraph/intern')
-rw-r--r--source/blender/depsgraph/intern/builder/deg_builder_relations.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
index 4ebc0804479..dfc20286565 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc
@@ -415,6 +415,8 @@ void DepsgraphRelationBuilder::build_object(Object *object)
DEG_OPCODE_TRANSFORM_OBJECT_UBEREVAL);
/* Parenting. */
if (object->parent != NULL) {
+ /* Make sure parent object's relations are built. */
+ build_object(object->parent);
/* Parent relationship. */
build_object_parent(object);
/* Local -> parent. */