From 8251508412940b3f584f051a860a1bb4ddbfb62e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 3 Jul 2008 23:04:12 +0000 Subject: * On client login, send only one terrain patch at a time (with pauses) instead of 4 at a time * Certain terrains which are fine went patches are sent singly cause a libsecondlife failure when patches are sent in batches * See http://opensimulator.org/mantis/view.php?id=1662 for more details --- OpenSim/Region/Environment/Interfaces/ITerrainChannel.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Region/Environment/Interfaces/ITerrainChannel.cs') diff --git a/OpenSim/Region/Environment/Interfaces/ITerrainChannel.cs b/OpenSim/Region/Environment/Interfaces/ITerrainChannel.cs index 952ca0a..aa34c45 100644 --- a/OpenSim/Region/Environment/Interfaces/ITerrainChannel.cs +++ b/OpenSim/Region/Environment/Interfaces/ITerrainChannel.cs @@ -32,7 +32,13 @@ namespace OpenSim.Region.Environment.Interfaces int Height { get; } double this[int x, int y] { get; set; } int Width { get; } + + /// + /// Squash the entire heightmap into a single dimensioned array + /// + /// float[] GetFloatsSerialised(); + double[,] GetDoubles(); bool Tainted(int x, int y); ITerrainChannel MakeCopy(); -- cgit v1.1