Outliner: Gray out collections only when they are invisible
Re-factor of 4521d3e707
.
This commit is contained in:
parent
7b22c3269b
commit
dc7f312326
|
@ -1313,8 +1313,7 @@ static void outliner_add_layer_collections_recursive(
|
|||
|
||||
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)))
|
||||
((lc->runtime_flag & LAYER_COLLECTION_VISIBLE) == 0))
|
||||
{
|
||||
ten->flag |= TE_DISABLED;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue