Page MenuHome

Fix T57160: hide gizmos when their objects viewport selection is restricted
AbandonedPublic

Authored by Philipp Oeser (lichtwerk) on Oct 11 2018, 3:46 PM.

Diff Detail

Repository
rB Blender
Branch
T57160 (branched from blender2.8)
Build Status
Buildable 2209
Build 2209: arc lint + arc unit

Event Timeline

The collection that the object is in can also have its selectability disabled, which is not being taken into account here. What this should do is call BKE_view_layer_base_find() and then check the selectable flag on the base. It could be wrapped in a utility function to avoid code duplication.

For the gizmo/design side I defer to @Campbell Barton (campbellbarton) though.

Redundant, already in master.