Depsgraph: Add missing expansion od custom bone shapes

This was fixed in 2.8 branch but not in master.
This commit is contained in:
Sergey Sharybin 2018-04-04 10:15:45 +02:00
parent 4674e02562
commit f913e69093
2 changed files with 10 additions and 0 deletions

View File

@ -284,6 +284,11 @@ void DepsgraphNodeBuilder::build_rig(Object *object)
}
}
/* Custom shape. */
if (pchan->custom != NULL) {
build_object(NULL, pchan->custom);
}
pchan_index++;
}
}

View File

@ -436,6 +436,11 @@ void DepsgraphRelationBuilder::build_rig(Object *object)
/* assume that all bones must be done for the pose to be ready (for deformers) */
add_relation(bone_done_key, flush_key, "PoseEval Result-Bone Link");
/* Custom shape. */
if (pchan->custom != NULL) {
build_object(pchan->custom);
}
}
}