[Bf-blender-cvs] [1027ddfa2d2] master: Depsgraph: Add missing bone properties to proxy rigs

Sergey Sharybin noreply at git.blender.org
Wed Dec 6 10:33:16 CET 2017


Commit: 1027ddfa2d2dc115da8fc48d0bea801a1ff1ce2b
Author: Sergey Sharybin
Date:   Tue Dec 5 17:34:11 2017 +0100
Branches: master
https://developer.blender.org/rB1027ddfa2d2dc115da8fc48d0bea801a1ff1ce2b

Depsgraph: Add missing bone properties to proxy rigs

===================================================================

M	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 19533272ef5..3ef1eb547b5 100644
--- a/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc
+++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc
@@ -285,6 +285,15 @@ void DepsgraphNodeBuilder::build_proxy_rig(Object *object)
 		op_node = add_operation_node(&object->id, DEG_NODE_TYPE_BONE, pchan->name,
 		                             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,



More information about the Bf-blender-cvs mailing list