Commit: 762a988130379f78297f5a5b026c78be2c774ea6
Author: Campbell Barton
Date:   Thu May 1 05:54:57 2014 +1000
https://developer.blender.org/rB762a988130379f78297f5a5b026c78be2c774ea6

Fix for copy_object_pose incrementing custom user twice

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

M       source/blender/blenkernel/intern/object.c

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

diff --git a/source/blender/blenkernel/intern/object.c 
b/source/blender/blenkernel/intern/object.c
index f3dd2ee..ed617c8 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -1366,10 +1366,6 @@ static void copy_object_pose(Object *obn, Object *ob)
                
                chan->flag &= ~(POSE_LOC | POSE_ROT | POSE_SIZE);
                
-               if (chan->custom) {
-                       id_us_plus(&chan->custom->id);
-               }
-               
                for (con = chan->constraints.first; con; con = con->next) {
                        bConstraintTypeInfo *cti = 
BKE_constraint_typeinfo_get(con);
                        ListBase targets = {NULL, NULL};

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to