[Bf-blender-cvs] [7553523af7b] blender2.8: Collections: Bring back simple visibility behaviour
Dalai Felinto
noreply at git.blender.org
Tue Oct 31 14:47:35 CET 2017
Commit: 7553523af7b34bfeede09b9acf0a95b84a2c15cf
Author: Dalai Felinto
Date: Tue Oct 31 11:39:17 2017 -0200
Branches: blender2.8
https://developer.blender.org/rB7553523af7b34bfeede09b9acf0a95b84a2c15cf
Collections: Bring back simple visibility behaviour
If an object is in any visible collection, the object will be visible.
This behaviour has changed in 9ad2c0b6154b.
If it will change again, it will be for:
https://developer.blender.org/D2878
===================================================================
M source/blender/blenkernel/intern/layer.c
===================================================================
diff --git a/source/blender/blenkernel/intern/layer.c b/source/blender/blenkernel/intern/layer.c
index 66a5e67583c..f5650874ff0 100644
--- a/source/blender/blenkernel/intern/layer.c
+++ b/source/blender/blenkernel/intern/layer.c
@@ -1942,9 +1942,6 @@ void BKE_layer_eval_layer_collection(const struct EvaluationContext *UNUSED(eval
IDP_MergeGroup(base->collection_properties, layer_collection->properties_evaluated, true);
base->flag |= BASE_VISIBLED;
}
- else {
- base->flag &= ~BASE_VISIBLED;
- }
if (is_selectable) {
base->flag |= BASE_SELECTABLED;
More information about the Bf-blender-cvs
mailing list