From a144bc27810b657d281f02b628ef1512fb684853 Mon Sep 17 00:00:00 2001 From: Chien Yang Date: Tue, 8 Mar 2005 19:22:55 +0000 Subject: Remove assert check in processMouseEvent. git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@51 9497e636-51bd-65ba-982d-a4982e1767a5 --- .../sun/j3d/utils/behaviors/mouse/MouseBehavior.java | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/classes/share') diff --git a/src/classes/share/com/sun/j3d/utils/behaviors/mouse/MouseBehavior.java b/src/classes/share/com/sun/j3d/utils/behaviors/mouse/MouseBehavior.java index a535578..3840925 100644 --- a/src/classes/share/com/sun/j3d/utils/behaviors/mouse/MouseBehavior.java +++ b/src/classes/share/com/sun/j3d/utils/behaviors/mouse/MouseBehavior.java @@ -243,15 +243,14 @@ public abstract class MouseBehavior extends Behavior buttonPress = false; wakeUp = false; } - else if (evt.getID() == MouseEvent.MOUSE_MOVED) { - // Process mouse move event - } - else if (evt.getID() == MouseEvent.MOUSE_WHEEL) { - // Process mouse wheel event - } - else {// no default code path authorized. - assert false; - } + /* + else if (evt.getID() == MouseEvent.MOUSE_MOVED) { + // Process mouse move event + } + else if (evt.getID() == MouseEvent.MOUSE_WHEEL) { + // Process mouse wheel event + } + */ } /** -- cgit v1.2.3