Browse Source

Fix terrain

ShiroSmith 6 năm trước cách đây
mục cha
commit
d334ecb536
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;