and replaced it with camNode.setEnabled(). A) it is kind of scary to rely on the control index in this case. B) CameraNode.setEnabled() already calls setEnabled() on the CameraControl. An acceptable alternative would be: camNode.getControl(CameraControl.class).setEnabled() but I didn't see the point of it. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9267 75d07b2b-3a1a-0410-a2c5-0572b91ccdca3.0
parent
0e315d57da
commit
4e12127f27
Loading…
Reference in new issue