- improve Control template

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8649 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 13 years ago
parent 784740e1df
commit 3e0ab2bd64
  1. 2
      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;

Loading…
Cancel
Save