Pārlūkot izejas kodu

SDK:
- remove initialize() call in JmeTerrainGrid

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8811 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

nor..67 14 gadi atpakaļ
vecāks
revīzija
1574b3286a

+ 0 - 7
jme3-core/src/com/jme3/gde/core/sceneexplorer/nodes/JmeTerrainGrid.java

@@ -64,13 +64,6 @@ public class JmeTerrainGrid extends JmeTerrainQuad implements TerrainGridListene
         this.geom = spatial;
         setName(spatial.getName());
         geom.addListener(this);
-        SceneApplication.getApplication().enqueue(new Callable<Void>() {
-
-            public Void call() throws Exception {
-                geom.initialize(SceneApplication.getApplication().getCamera().getLocation());
-                return null;
-            }
-        });
     }
 
     @Override