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>2018-11-28 04:06:45 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-11-28 07:33:04 +0300
commit4521d3e7074d2e08ca813e1f4a2297f5000f335b (patch)
tree3cff54b628b6a9ccf6ae3e935033ea4cf9efa13a /source/blender/editors/space_outliner
parentfd16b359977c8932ada8db4ff0e43d0402fdc280 (diff)
Outliner: Do not gray out empty collections
We can still have a special icon for them, but graying out is not the way to go.
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r--source/blender/editors/space_outliner/outliner_tree.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index 902235779cf..2a21b73e9bd 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -1314,10 +1314,7 @@ static void outliner_add_layer_collections_recursive(
ten->directdata = lc;
const bool exclude = (lc->flag & LAYER_COLLECTION_EXCLUDE) != 0;
- if (exclude ||
- ((layer->runtime_flag & VIEW_LAYER_HAS_HIDE) &&
- !(lc->runtime_flag & LAYER_COLLECTION_HAS_VISIBLE_OBJECTS)))
- {
+ if (exclude) {
ten->flag |= TE_DISABLED;
}