Skip to main content

removeCameraListener

1 reply [Last post]
mcgy0072
Offline
Joined: 2008-11-03
Points: 0

I'm using preveiw-3 binary for server and source codes.

I found something strange at Viewmanger.removeCameraListener(..) at line 491 of org.jdesktop.wonderland.client.jme.ViewManager.java;

/**
* Remove the specified camera listener
* @param cameraListener
*/
public void removeCameraListener(CameraListener cameraListener) {
synchronized (cameraNode) {
if (cameraListeners == null) {
return;
}

cameraListeners.add(cameraListener);
}

}

The line of "cameraListeners.add(cameraListener);" should be like "cameraListeners.remove(cameraListener);" ?

Thanks..

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
matty_x
Offline
Joined: 2008-06-16
Points: 0

You may get more of a response at the new forum:

http://groups.google.com/group/openwonderland