diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-23 14:13:04 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-23 14:13:04 +0300 |
commit | 7cb0e1499d121cf743c2400741aeff2bbd3325ff (patch) | |
tree | 760c01dd3ba32b9458c75acbdfc16424499fc137 /source/blender/blenkernel/intern/collection.c | |
parent | f77eafed33aa17b602d8277dd8ea4bbfdec87aaa (diff) |
Fix compiler error in Windows
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 ece79fe4b37..51e508d7744 100644 --- a/source/blender/blenkernel/intern/collection.c +++ b/source/blender/blenkernel/intern/collection.c @@ -231,7 +231,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); - id_us_min(collection_new); /* Copying add one user by default, need to get rid of that one. */ + id_us_min(&collection_new->id); /* Copying add one user by default, need to get rid of that one. */ /* Optionally add to parent. */ if (parent) { |