diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-05-04 16:08:05 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-05-04 16:08:57 +0300 |
commit | b180900e52a5e662faf354d6343cb2ad620d9866 (patch) | |
tree | a600f94c3f056f17fb80d19259ecab7f0ae7be6b /source/blender/blenkernel | |
parent | e3bc0210792b5504f899b31323326c3da9114864 (diff) |
Fix missing usercount update of poselib when copying Object.
Still finding such missing cases... :(
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/object.c | 1 |
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); |