|
|
@ -451,10 +451,10 @@ public class TerrainGrid extends TerrainQuad { |
|
|
|
offset = (Vector2f) c.readSavable("offset", null); |
|
|
|
offset = (Vector2f) c.readSavable("offset", null); |
|
|
|
offsetAmount = c.readFloat("offsetAmount", 0); |
|
|
|
offsetAmount = c.readFloat("offsetAmount", 0); |
|
|
|
terrainQuadGrid = (TerrainQuadGrid) c.readSavable("terrainQuadGrid", null); |
|
|
|
terrainQuadGrid = (TerrainQuadGrid) c.readSavable("terrainQuadGrid", null); |
|
|
|
|
|
|
|
initData(); |
|
|
|
terrainQuadGrid.setSize(this.size); |
|
|
|
terrainQuadGrid.setSize(this.size); |
|
|
|
terrainQuadGrid.setPatchSize(this.patchSize); |
|
|
|
terrainQuadGrid.setPatchSize(this.patchSize); |
|
|
|
terrainQuadGrid.setQuadSize(this.quadSize); |
|
|
|
terrainQuadGrid.setQuadSize(this.quadSize); |
|
|
|
initData(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|