diff options
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc index 4754749e2e5..3039eebe857 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc @@ -450,6 +450,7 @@ void DepsgraphRelationBuilder::build_rig(Object *object) /* Custom shape. */ if (pchan->custom != nullptr) { build_object(pchan->custom); + add_visibility_relation(&pchan->custom->id, &armature->id); } } } @@ -506,6 +507,12 @@ void DepsgraphRelationBuilder::build_proxy_rig(Object *object) &proxy_from->id, NodeType::PARAMETERS, OperationCode::PARAMETERS_EVAL, pchan->name); add_relation(from_bone_parameters, bone_parameters, "Proxy Bone Parameters"); } + + /* Custom shape. */ + if (pchan->custom != nullptr) { + build_object(pchan->custom); + add_visibility_relation(&pchan->custom->id, &armature->id); + } } } |