From 9bf315fbcf35696b1d0b58127b9845ff85fbd081 Mon Sep 17 00:00:00 2001 From: "rem..om" Date: Sat, 29 Oct 2011 09:17:16 +0000 Subject: [PATCH] Fixed silly copy/paste mistake in LightNode git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core/com/jme3/scene/LightNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); } }