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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user