Fixed silly copy/paste mistake in LightNode

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
rem..om 13 years ago
parent b13809bba3
commit 9bf315fbcf
  1. 4
      engine/src/core/com/jme3/scene/LightNode.java

@ -79,7 +79,7 @@ public class LightNode extends Node {
lightControl.setControlDir(controlDir);
}
public void setCamera(Light light) {
public void setLight(Light light) {
lightControl.setLight(light);
}
@ -87,7 +87,7 @@ public class LightNode extends Node {
return lightControl.getControlDir();
}
public Light getCamera() {
public Light getLight() {
return lightControl.getLight();
}
}

Loading…
Cancel
Save