Merge branch 'master' into blender2.8
[blender.git] / source / blender / blenkernel / intern / object.c
index b70eb2b503a74e29fd84059c60bebd0e00393fb3..684b00c6e0ab0ea7a2c4b0f724019e7fdd6a153e 100644 (file)
@@ -1164,6 +1164,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);