[Bf-blender-cvs] [dc7f3123266] master: Outliner: Gray out collections only when they are invisible
Dalai Felinto
noreply at git.blender.org
Tue Feb 5 22:35:37 CET 2019
Commit: dc7f3123266ba98a905b0b4936fffbc13bddff84
Author: Dalai Felinto
Date: Thu Nov 29 18:56:10 2018 -0200
Branches: master
https://developer.blender.org/rBdc7f3123266ba98a905b0b4936fffbc13bddff84
Outliner: Gray out collections only when they are invisible
Re-factor of 4521d3e7074d.
===================================================================
M source/blender/editors/space_outliner/outliner_tree.c
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index f3386f1be09..77910496718 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -1313,8 +1313,7 @@ static void outliner_add_layer_collections_recursive(
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)))
+ ((lc->runtime_flag & LAYER_COLLECTION_VISIBLE) == 0))
{
ten->flag |= TE_DISABLED;
}
More information about the Bf-blender-cvs
mailing list