Commit: 7cb0e1499d121cf743c2400741aeff2bbd3325ff
Author: Antonioya
Date:   Tue Oct 23 13:13:04 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB7cb0e1499d121cf743c2400741aeff2bbd3325ff

Fix compiler error in Windows

===================================================================

M       source/blender/blenkernel/intern/collection.c

===================================================================

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) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to