kapa76 / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Terrain editor mouse wheel bug #575

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The mouse wheel listener in SceneViewerTopComponent "defaults" to the 
"MouseWheel-" event when getWheelRotation() returns 0, which I assume is caused 
by rotations that are lower than a complete "click", which apparently happens 
all the time on my Comfort mouse 4500. The result of this is that you will 
always get net-negative zooming no matter which way you turn the wheel.

Added a small patch that just returns when getWheelRotation() returns 0.

Original issue reported on code.google.com by antikult...@gmail.com on 5 Feb 2013 at 4:28

Attachments: