diff options
author | Manuel Castilla <manzanilla> | 2020-09-14 10:13:29 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-09-14 10:25:48 +0300 |
commit | 9bc1d7a6deea8f401d727e80f42a04482c29bcef (patch) | |
tree | 4d93f386b55d95e962dcba3908f4fff8c57bdb71 /source/blender/draw/tests | |
parent | 0f61b27e93f1eedff4217b2dc8d11c774d4d0f6f (diff) |
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
Diffstat (limited to 'source/blender/draw/tests')
0 files changed, 0 insertions, 0 deletions