소스 검색

- improve Control template

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8649 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
nor..67 14 년 전
부모
커밋
3e0ab2bd64
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sdk/jme3-templates/src/com/jme3/gde/templates/files/Control.template

+ 1 - 1
sdk/jme3-templates/src/com/jme3/gde/templates/files/Control.template

@@ -40,7 +40,7 @@ public class ${name} extends AbstractControl{
     }
 
     public Control cloneForSpatial(Spatial spatial) {
-        Control control = new ${name}();
+        ${name} control = new ${name}();
         //TODO: copy parameters to new Control
         control.setSpatial(spatial);
         return control;