diff options
author | Chien Yang <[email protected]> | 2005-03-08 19:22:55 +0000 |
---|---|---|
committer | Chien Yang <[email protected]> | 2005-03-08 19:22:55 +0000 |
commit | a144bc27810b657d281f02b628ef1512fb684853 (patch) | |
tree | ed4ab91d8c3e075d067fd8057c887e57e7123777 | |
parent | ad7a4c01284cfd4fd601e848ee0246b071aed7d2 (diff) |
Remove assert check in processMouseEvent.
git-svn-id: https://svn.java.net/svn/j3d-core-utils~svn/trunk@51 9497e636-51bd-65ba-982d-a4982e1767a5
-rw-r--r-- | src/classes/share/com/sun/j3d/utils/behaviors/mouse/MouseBehavior.java | 17 |
1 files changed, 8 insertions, 9 deletions
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 + } + */ } /** |