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
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2017-05-04 16:08:05 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2017-05-04 16:08:57 +0300
commitb180900e52a5e662faf354d6343cb2ad620d9866 (patch)
treea600f94c3f056f17fb80d19259ecab7f0ae7be6b /source/blender/blenkernel/intern/object.c
parente3bc0210792b5504f899b31323326c3da9114864 (diff)
Fix missing usercount update of poselib when copying Object.
Still finding such missing cases... :(
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
-rw-r--r--source/blender/blenkernel/intern/object.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index fbca03c1e07..b65cc408ae5 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -1145,6 +1145,7 @@ Object *BKE_object_copy_ex(Main *bmain, Object *ob, bool copy_caches)
/* increase user numbers */
id_us_plus((ID *)obn->data);
+ id_us_plus((ID *)obn->poselib);
id_us_plus((ID *)obn->gpd);
id_us_plus((ID *)obn->dup_group);