From 3e0ab2bd64bba6368a0e3d18be5f1fc05a432ea7 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Fri, 11 Nov 2011 17:30:28 +0000 Subject: [PATCH] - improve Control template git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8649 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/com/jme3/gde/templates/files/Control.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/jme3-templates/src/com/jme3/gde/templates/files/Control.template b/sdk/jme3-templates/src/com/jme3/gde/templates/files/Control.template index 7a48a7df9..49faab2ec 100644 --- a/sdk/jme3-templates/src/com/jme3/gde/templates/files/Control.template +++ b/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;