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;
|
ten->directdata = lc;
|
||||||
|
|
||||||
const bool exclude = (lc->flag & LAYER_COLLECTION_EXCLUDE) != 0;
|
const bool exclude = (lc->flag & LAYER_COLLECTION_EXCLUDE) != 0;
|
||||||
if (exclude ||
|
if (exclude) {
|
||||||
((layer->runtime_flag & VIEW_LAYER_HAS_HIDE) &&
|
|
||||||
!(lc->runtime_flag & LAYER_COLLECTION_HAS_VISIBLE_OBJECTS)))
|
|
||||||
{
|
|
||||||
ten->flag |= TE_DISABLED;
|
ten->flag |= TE_DISABLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user