From f913e6909353aab51f2b1381799130be4f8b5625 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 4 Apr 2018 10:15:45 +0200 Subject: Depsgraph: Add missing expansion od custom bone shapes This was fixed in 2.8 branch but not in master. --- source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc') diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc index 0c7c3d13d93..b9a53c69070 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc @@ -284,6 +284,11 @@ void DepsgraphNodeBuilder::build_rig(Object *object) } } + /* Custom shape. */ + if (pchan->custom != NULL) { + build_object(NULL, pchan->custom); + } + pchan_index++; } } -- cgit v1.2.3