Browse Source

Fix terrain

ShiroSmith 6 years ago
parent
commit
d334ecb536
1 changed files with 1 additions and 1 deletions
  1. 1 1
      hide/prefab/terrain/Terrain.hx

+ 1 - 1
hide/prefab/terrain/Terrain.hx

@@ -245,7 +245,7 @@ class Terrain extends Object3D {
 
 	public function loadBinary( ctx : Context ) {
 
-		terrain.surfaceArray = new h3d.scene.pbr.terrain.Surface.SurfaceArray(surfaceCount, surfaceSize);
+		//terrain.surfaceArray = new h3d.scene.pbr.terrain.Surface.SurfaceArray(surfaceCount, surfaceSize);
 
 		var resDir = ctx.shared.loadDir(name);
 		if( resDir == null ) return;