diff --git a/engine/src/core/com/jme3/scene/LightNode.java b/engine/src/core/com/jme3/scene/LightNode.java index fde61667f..5e6dc7655 100644 --- a/engine/src/core/com/jme3/scene/LightNode.java +++ b/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(); } }