Page MenuHome

Fix T72584: Hiding a collection don't hide a child object in viewport when in Local View
Needs ReviewPublic

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



Hiding a collection should hide all children objects even when we are in Local view with one of them.
In function "BKE_object_is_visible_in_viewport" object flag BASE_VISIBLE_VIEWLAYER wasn't being checked when we were in Local view,
It's now changed so that it's checked even if we are in Local view.
And this function was called by some viewport draw functions to check if it should draw an object or not.

Diff Detail

rB Blender
T72584-Local_View (branched from master)
Build Status
Buildable 8307
Build 8307: arc lint + arc unit