SDK SceneComposer : fix a warning at the build time

experimental
Maselbas 10 years ago
parent 8b8425ba68
commit df96ab4f14
  1. 17
      sdk/jme3-scenecomposer/src/com/jme3/gde/scenecomposer/SceneComposerToolController.java

@ -357,7 +357,7 @@ public class SceneComposerToolController extends SceneToolController {
public void setTransformationType(String type) { public void setTransformationType(String type) {
if(type != null){ if(type != null){
if(type.equals("Local")){ if(type.equals("Local")){
setTransformationType(transformationType.local); setTransformationType(TransformationType.local);
} else if(type.equals("Global")){ } else if(type.equals("Global")){
setTransformationType(TransformationType.global); setTransformationType(TransformationType.global);
} else if(type.equals("Camera")){ } 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) { public void setTransformationType(TransformationType type) {
if(type != this.transformationType){ 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 marker on the screen that shows where a point light or
* a spot light is. This marker is not part of the scene, * a spot light is. This marker is not part of the scene,

Loading…
Cancel
Save