If I drag a model by pressing the trigger button and move so the wand touches a user interface button and then release the trigger then the model continues to move with the hand controller even though no button is pressed.
The grabbing code was ignoring the hand-controller button release event if a user interface button was selected. Made it only ignore the grab when the button is pressed, not when it is released.
If I drag a model by pressing the trigger button and move so the wand touches a user interface button and then release the trigger then the model continues to move with the hand controller even though no button is pressed.