Blender Git Loki

Git Commits -> Revision 0e94d8b

Revision 0e94d8b by Robert Guetzkow (master)
January 15, 2020, 11:21 (GMT)
Fix T72302: Only hide objects if their collection is visible

In Blender 2.80 Shift + H (`object_hide_view_set(unselected=True)`) used to
(temporarily) hide objects only if their collection was visible in the current
view layer.

This behavior was changed in rB0812949bbc3d7acfd1f20a47087ff973110aa177 (D5992)
by using `BASE_VISIBLE_DEPSGRAPH` for the decision which object's (temporary)
visibility should remain unchanged. Since the view layer visibility and depsgraph
visibility has been decoupled in said commit, the correct condition
to check is `BASE_VISIBLE_VIEWLAYER`.

This patch is a fix for T72302

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

Commit Details:

Full Hash: 0e94d8bbe09e1291d0b7acf60eab62297486e956
Parent Commit: 473bcff
Committed By: Dalai Felinto
Lines Changed: +1, -1

1 Modified Path:

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