From 813d163ea7aba8b7258eaef846b8ee8d51693e69 Mon Sep 17 00:00:00 2001 From: "iwg..ic" Date: Wed, 20 Nov 2013 13:21:18 +0000 Subject: [PATCH] Add wheel values to toString() for MouseMotionEvent git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10895 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/input/event/MouseMotionEvent.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/core/com/jme3/input/event/MouseMotionEvent.java b/engine/src/core/com/jme3/input/event/MouseMotionEvent.java index 18ec2aaf9..141077f5e 100644 --- a/engine/src/core/com/jme3/input/event/MouseMotionEvent.java +++ b/engine/src/core/com/jme3/input/event/MouseMotionEvent.java @@ -103,7 +103,8 @@ public class MouseMotionEvent extends InputEvent { @Override public String toString(){ - return "MouseMotion(X="+x+", Y="+y+", DX="+dx+", DY="+dy+")"; + return "MouseMotion(X="+x+", Y="+y+", DX="+dx+", DY="+dy+ + ", Wheel="+wheel+", dWheel="+deltaWheel+")"; } }