Can someone check my sanity here, or does this look like a bug?
Discussion
2 archived replies
Posts are displayed in their archived order.
01Commenter-1
There is another gesture map myMouseGestureMapDrag defining mouse buttons combination for dragging objects. AIS_ViewController constructor defines it to left mouse button:
As both dragging and rotation initiated by the same mouse gesture, these two conflict with each other and AIS_ViewController performs special treatment to try handling dragging first and then falling back to rotation if dragging event has been rejected by the object. Apparently, there is a bug in this logic, so that rotation is initiated by dragging myMouseGestureMapDrag, even when rotation gesture hasn't been assigned to the same mouse button in myMouseGestureMap.
So, to clean up all mouse gestures, clean up both maps:
Note, that if you just want disabling view rotation by any gesture (temporarily), AIS_ViewController::SetAllowRotation(false) would be more convenient (and it doesn't trigger the same bug with the dragging gesture).
02Author
Sorted, thanks - disabling the second one did the trick