From 666ff483a4d01ffecb56b3ac7e8402d64227a2a2 Mon Sep 17 00:00:00 2001 From: "nor..67" Date: Tue, 15 Nov 2011 20:54:07 +0000 Subject: [PATCH] - fix in deserialization of TerrainGrid git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8684 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java index 9aa00fb1b..1bf6e8cb2 100644 --- a/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java +++ b/engine/src/terrain/com/jme3/terrain/geomipmap/TerrainGrid.java @@ -451,10 +451,10 @@ public class TerrainGrid extends TerrainQuad { offset = (Vector2f) c.readSavable("offset", null); offsetAmount = c.readFloat("offsetAmount", 0); terrainQuadGrid = (TerrainQuadGrid) c.readSavable("terrainQuadGrid", null); + initData(); terrainQuadGrid.setSize(this.size); terrainQuadGrid.setPatchSize(this.patchSize); terrainQuadGrid.setQuadSize(this.quadSize); - initData(); } @Override