Blender Git Loki

Git Commits -> Revision 9bc1d7a

Revision 9bc1d7a by Manuel Castilla (master)
September 14, 2020, 07:25 (GMT)
Fix T72584: Hiding a collection don't hide a child object in viewport when in Local View

Hiding a collection should hide all children objects even when we are in Local
view with one of them.

Note from reviewer: We are doing this already for local collections. So
may as well do it when hiding the collections for the entire view layer.

Developer details: 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.

Maniphest Tasks: T72584

Differential Revision: https://developer.blender.org/D7894

Commit Details:

Full Hash: 9bc1d7a6deea8f401d727e80f42a04482c29bcef
Parent Commit: 0f61b27
Committed By: Dalai Felinto
Lines Changed: +2, -2

1 Modified Path:

/source/blender/blenkernel/intern/layer.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021