Merge branch 'master' into blender2.8

This commit is contained in:
Sergey Sharybin 2018-04-23 09:34:50 +02:00
commit 3aa75ba452
1 changed files with 2 additions and 0 deletions

View File

@ -419,6 +419,8 @@ void DepsgraphRelationBuilder::build_object(Base *base, Object *object)
build_object_flags(base, object);
/* Parenting. */
if (object->parent != NULL) {
/* Make sure parent object's relations are built. */
build_object(NULL, object->parent);
/* Parent relationship. */
build_object_parent(object);
/* Local -> parent. */