浏览代码

SDK:
- change Control template to not use setPatial in cloneForSpatial

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10366 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 12 年之前
父节点
当前提交
cc13547e19
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      sdk/jme3-templates/src/com/jme3/gde/templates/files/Control.template

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

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