Collections: Bring back simple visibility behaviour

If an object is in any visible collection, the object will be visible.
This behaviour has changed in 9ad2c0b615.

If it will change again, it will be for:
https://developer.blender.org/D2878
This commit is contained in:
Dalai Felinto
2017-10-31 11:39:17 -02:00
parent 16f06e9dc9
commit 7553523af7

View File

@@ -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;