- change Control template to not use setPatial in cloneForSpatial

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10366 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
nor..67 2013-02-09 01:27:28 +00:00
parent 93c5cdbc71
commit cc13547e19

View File

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