- improve Control template

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8649 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2011-11-11 17:30:28 +00:00
parent 784740e1df
commit 3e0ab2bd64

View File

@ -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;