Maya camera no longer get's stuck in "rotating" state when a mouse-up event is lost (thx @ JLouisB for reporting).
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@4762 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
116dc6fa93
commit
c0df3c33b0
|
@ -1,6 +1,7 @@
|
|||
--------------------------
|
||||
Changes in 1.9 (not yet released)
|
||||
|
||||
- Maya camera no longer get's stuck in "rotating" state when a mouse-up event is lost (thx @ JLouisB for reporting).
|
||||
- Focus behavior of IGUIEnvironment now controllable (right-click focus, mouse-over focus). Disabled elements no longer get the focus unless users enforce it.
|
||||
- Buttons can now now have 7 more image-states, 1 more sprite-state and the sprites are now scaleable.
|
||||
- Spritebanks can now draw scaled sprites and are a little easier to use.
|
||||
|
|
|
@ -74,6 +74,11 @@ bool CSceneNodeAnimatorCameraMaya::OnEvent(const SEvent& event)
|
|||
MouseKeys[1] = false;
|
||||
break;
|
||||
case EMIE_MOUSE_MOVED:
|
||||
// check states again because sometimes the gui has already catched events
|
||||
MouseKeys[0] = event.MouseInput.isLeftPressed();
|
||||
MouseKeys[2] = event.MouseInput.isRightPressed();
|
||||
MouseKeys[1] = event.MouseInput.isMiddlePressed();
|
||||
|
||||
MousePos = CursorControl->getRelativePosition();
|
||||
break;
|
||||
case EMIE_MOUSE_WHEEL:
|
||||
|
|
Loading…
Reference in New Issue