Depsgraph: Pass CoW version of object to armature update done
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 4 Apr 2018 09:47:09 +0000 (11:47 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 4 Apr 2018 09:47:33 +0000 (11:47 +0200)
source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc

index 328d23a2ced8ca2959cda45877df8dd461a70d61..6a7f9eaea256ede2852399c2749da3ae49541f6b 100644 (file)
@@ -267,7 +267,7 @@ void DepsgraphNodeBuilder::build_rig(Object *object)
                op_node = add_operation_node(&object->id, DEG_NODE_TYPE_BONE, pchan->name,
                                             function_bind(BKE_pose_bone_done,
                                                           _1,
-                                                          object,
+                                                          object_cow,
                                                           pchan_index),
                                             DEG_OPCODE_BONE_DONE);
                op_node->set_as_exit();