From df96ab4f14b6ef2ec4dfcf57d7b74651735e05d1 Mon Sep 17 00:00:00 2001 From: Maselbas Date: Wed, 29 Apr 2015 21:52:25 +0200 Subject: [PATCH] SDK SceneComposer : fix a warning at the build time --- .../SceneComposerToolController.java | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java b/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java index 2ad04aa8d..50b6d5cfe 100644 --- a/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java +++ b/sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java @@ -357,7 +357,7 @@ public class SceneComposerToolController extends SceneToolController { public void setTransformationType(String type) { if(type != null){ if(type.equals("Local")){ - setTransformationType(transformationType.local); + setTransformationType(TransformationType.local); } else if(type.equals("Global")){ setTransformationType(TransformationType.global); } else if(type.equals("Camera")){ @@ -365,15 +365,9 @@ public class SceneComposerToolController extends SceneToolController { } } } - /** - * @return the transformationType - */ - public TransformationType getTransformationType() { - return transformationType; - } /** - * @param transformationType the transformationType to set + * @param type the transformationType to set */ public void setTransformationType(TransformationType type) { if(type != this.transformationType){ @@ -385,6 +379,13 @@ public class SceneComposerToolController extends SceneToolController { } } + /** + * @return the transformationType + */ + public TransformationType getTransformationType() { + return transformationType; + } + /** * A marker on the screen that shows where a point light or * a spot light is. This marker is not part of the scene,