diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-30 23:54:57 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-30 23:54:57 +0400 |
commit | 762a988130379f78297f5a5b026c78be2c774ea6 (patch) | |
tree | d36fae932101188023f379731e306a7e2ea63ac1 | |
parent | 4b759563300633e24f7aa12baa4417e42b8ed018 (diff) |
Fix for copy_object_pose incrementing custom user twice
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c index f3dd2eeae2c..ed617c8687c 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}; |