- change Control template to not use setPatial in cloneForSpatial

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10366 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 93c5cdbc71
commit cc13547e19
  1. 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;
}

Loading…
Cancel
Save