Commit: 4521d3e7074d2e08ca813e1f4a2297f5000f335b
Author: Dalai Felinto
Date:   Tue Nov 27 23:06:45 2018 -0200
Branches: blender2.8
https://developer.blender.org/rB4521d3e7074d2e08ca813e1f4a2297f5000f335b

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.

===================================================================

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

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to