[Bf-blender-cvs] [c0f9f69c7e6] blender2.8: Fix T55200: dragging object into hidden collection does not hide it.

Brecht Van Lommel noreply at git.blender.org
Fri May 25 16:09:13 CEST 2018


Commit: c0f9f69c7e6466d93cac96b9cd4f9fde8ab05f22
Author: Brecht Van Lommel
Date:   Fri May 25 16:07:17 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBc0f9f69c7e6466d93cac96b9cd4f9fde8ab05f22

Fix T55200: dragging object into hidden collection does not hide it.

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

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

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

diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c
index 30ed796d73f..c4709a32f78 100644
--- a/source/blender/blenkernel/intern/collection.c
+++ b/source/blender/blenkernel/intern/collection.c
@@ -614,7 +614,7 @@ bool BKE_collection_object_remove(Main *bmain, Collection *collection, Object *o
 		return false;
 	}
 
-	if (collection_object_remove(bmain, collection, ob, free_us)) {
+	if (!collection_object_remove(bmain, collection, ob, free_us)) {
 		return false;
 	}



More information about the Bf-blender-cvs mailing list