Page MenuHome

Fix T77161: Outliner - Hiding in viewport a Collection does not gray out its children objects
Needs ReviewPublic

Authored by Manuel Castilla (manzanilla) on Jun 2 2020, 10:40 AM.
This revision needs review, but there are no reviewers specified.



When unchecking "Hide in Viewport" option for a collection it grays out itself and his children collections but
not his children objects.
It doesn't make sense because if you uncheck the option in the child object item it's grayed out.
So the same should occur if it's single parent collection option is unchecked.

For checking an object visibility in the viewport the flag "BASE_VISIBLE_VIEWLAYER"
should be used instead of "BASE_VISIBLE_DEPSGRAPH" because the later ignores viewport visibility.

Diff Detail

rB Blender
T77161 (branched from master)
Build Status
Buildable 8322
Build 8322: arc lint + arc unit