Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-04-30 23:54:57 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-30 23:54:57 +0400
commit762a988130379f78297f5a5b026c78be2c774ea6 (patch)
treed36fae932101188023f379731e306a7e2ea63ac1 /source
parent4b759563300633e24f7aa12baa4417e42b8ed018 (diff)
Fix for copy_object_pose incrementing custom user twice
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/object.c4
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};