mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
change terrain internal representation to float. ushort work with legal
sl terrain, but may break existent terrain and that may cost a lot more than the cost of memory
This commit is contained in:
@@ -367,8 +367,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public int SizeY;
|
||||
public int SizeZ;
|
||||
public float CompressionFactor;
|
||||
public ushort[] Map;
|
||||
public TerrainChannelXMLPackage(int pX, int pY, int pZ, float pCompressionFactor, ushort[] pMap)
|
||||
public float[] Map;
|
||||
public TerrainChannelXMLPackage(int pX, int pY, int pZ, float pCompressionFactor, float[] pMap)
|
||||
{
|
||||
Version = 1;
|
||||
SizeX = pX;
|
||||
|
||||
Reference in New Issue
Block a user