Merge branch 'master' into blender2.8
[blender.git] / source / blender / depsgraph / intern / builder / deg_builder_nodes_rig.cc
index dfe97d02ec606e6dca1002da6ea1092c9fbee0de..f6f2dcce4672c27a0df0f62fcc794268cc23643d 100644 (file)
@@ -359,6 +359,15 @@ void DepsgraphNodeBuilder::build_proxy_rig(Object *object)
                                             NULL,
                                             DEG_OPCODE_BONE_DONE);
                op_node->set_as_exit();
+
+               /* Custom properties. */
+               if (pchan->prop != NULL) {
+                       add_operation_node(&object->id,
+                                          DEG_NODE_TYPE_PARAMETERS,
+                                          NULL,
+                                          DEG_OPCODE_PARAMETERS_EVAL,
+                                          pchan->name);
+               }
        }
        op_node = add_operation_node(&object->id,
                                     DEG_NODE_TYPE_EVAL_POSE,