[Bf-blender-cvs] [4521d3e7074] blender2.8: Outliner: Do not gray out empty collections
Dalai Felinto
noreply at git.blender.org
Wed Nov 28 05:36:10 CET 2018
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;
}
More information about the Bf-blender-cvs
mailing list