You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HandlesActive returns true when object manpulator is disabled. Because HandlesActive is true, targetActiveFocus is 1, so the focus state stays
Why does HandlesActive become true when the object is disabled? I am not sure but this is the callstack. OnHostDeselected inverts the value of HandlesActive , and, because it was false, now it is true
As a workarround, you can do boundsControl.HandlesActive = false; after objectManipulator.enabled = false;
Describe the bug
Bounds control gets active in the state "Focus" if the bounds control is visible and object manipulator gets disabled
To reproduce
Steps to reproduce the behavior:
Bounds Control Bug.zip
Expected behavior
The bounds control disappears when the object manipulator is disabled
Bounds.Control.mp4
Your setup (please complete the following information)
Target platform (please complete the following information)
All of them
Additional context
In this line
MixedRealityToolkit-Unity/org.mixedrealitytoolkit.spatialmanipulation/BoundsControl/Visuals/SqueezableBoxVisuals.cs
Line 205 in 1e06019
HandlesActive returns true when object manpulator is disabled. Because HandlesActive is true, targetActiveFocus is 1, so the focus state stays
Why does HandlesActive become true when the object is disabled? I am not sure but this is the callstack. OnHostDeselected inverts the value of HandlesActive , and, because it was false, now it is true
As a workarround, you can do boundsControl.HandlesActive = false; after objectManipulator.enabled = false;