Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2017-10-31 16:39:17 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-10-31 16:39:17 +0300
commit7553523af7b34bfeede09b9acf0a95b84a2c15cf (patch)
tree5e89a68b025e3562198c7175a9234c1bb4fc7aa8 /source/blender
parent16f06e9dc9f9fe5fa05a3ad60bd29641c5ab4de7 (diff)
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
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenkernel/intern/layer.c3
1 files changed, 0 insertions, 3 deletions
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;