diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-04 17:34:31 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-02-05 11:49:50 +0300 |
commit | 7636e9785dc11fc9f11f89ba055f414e6efe43fa (patch) | |
tree | 984db57bc800523950d7f01b945f8553d0c7232f /source/blender/blenkernel/intern/collection.c | |
parent | 999f3985c07704f0edbe4e505172859b2e676634 (diff) |
Cleanup: BKE_library: remove 'test' param of id_copy.
This was used in *one* place only... much better to have a dedicated
helper for that kind of things. ;)
Diffstat (limited to 'source/blender/blenkernel/intern/collection.c')
-rw-r--r-- | source/blender/blenkernel/intern/collection.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c index 8dc3ef5d639..ffd5844de00 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -224,7 +224,7 @@ Collection *BKE_collection_copy(Main *bmain, Collection *parent, Collection *col } Collection *collection_new; - BKE_id_copy_ex(bmain, &collection->id, (ID **)&collection_new, 0, false); + BKE_id_copy_ex(bmain, &collection->id, (ID **)&collection_new, 0); id_us_min(&collection_new->id); /* Copying add one user by default, need to get rid of that one. */ /* Optionally add to parent. */ |