mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
varregion: move the compressed heighmap compression factor from
Constants into TerrainData. Save compression factor with the terrain blob in the database.
This commit is contained in:
@@ -112,7 +112,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
// This is an intermediate step in converting terrain into a variable sized heightmap. Some of the
|
||||
// routines (like IClientAPI) only pass the float array of heights around. This entry
|
||||
// converts that legacy representation into the more compact represenation used in
|
||||
// TerrainChannel. Someday fix the plumbing between here and the scene.
|
||||
// TerrainData. Someday fix the plumbing between here and the scene.
|
||||
public static LayerDataPacket CreateLandPacket(TerrainData terrData, int patchX, int patchY)
|
||||
{
|
||||
int[] xPieces = new int[1];
|
||||
|
||||
Reference in New Issue
Block a user