The way rotation currently works on the vertical axis is very unintuitive. This is a fix to make the way a model rotates behave similarly to Blender and other 3D modelers.
If the object's horizontal axis rotation is greater than +-180 degrees we invert the rotation direction. Since this transformation would not be continuous, we keep the rotation direction for the duration of the mouse movement.
The way rotation currently works on the vertical axis is very unintuitive. This is a fix to make the way a model rotates behave similarly to Blender and other 3D modelers.
If the object's horizontal axis rotation is greater than +-180 degrees we invert the rotation direction. Since this transformation would not be continuous, we keep the rotation direction for the duration of the mouse movement.