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:
parent
fd16b35997
commit
4521d3e707
Notes:
blender-bot
2023-02-14 07:30:31 +01:00
Referenced by commitdc7f312326
, Outliner: Gray out collections only when they are invisible Referenced by commit2bd62b076f
, Outliner/visibility: revert changes for now until we find better solutions.
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue