diff options
author | Teravus Ovares (Dan Olivares) | 2009-08-07 18:40:56 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-08-07 18:40:56 -0400 |
commit | c8a68fb3fbac0d99b53a62bb062232c0d5695d3c (patch) | |
tree | bb010e480b095e48cd80fce04305f5e8cd290a3b /OpenSim/Data/NHibernate/NHibernateRegionData.cs | |
parent | Silly error, simple fix (diff) | |
download | opensim-SC-c8a68fb3fbac0d99b53a62bb062232c0d5695d3c.zip opensim-SC-c8a68fb3fbac0d99b53a62bb062232c0d5695d3c.tar.gz opensim-SC-c8a68fb3fbac0d99b53a62bb062232c0d5695d3c.tar.bz2 opensim-SC-c8a68fb3fbac0d99b53a62bb062232c0d5695d3c.tar.xz |
* Remove hard coded 256 limitations from various places. There's no more 256m limitation within the OpenSimulator framework, however, the LLClient ClientView does not support regions larger then 256 meters so, if you try and make your region larger by setting Constants.RegionSize = 512; in OpenSim.Framework.Constants.cs, the terrain will not display on clients using the LLUDP protocol
Diffstat (limited to 'OpenSim/Data/NHibernate/NHibernateRegionData.cs')
-rw-r--r-- | OpenSim/Data/NHibernate/NHibernateRegionData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/NHibernate/NHibernateRegionData.cs b/OpenSim/Data/NHibernate/NHibernateRegionData.cs index 3f04f68..26ec500 100644 --- a/OpenSim/Data/NHibernate/NHibernateRegionData.cs +++ b/OpenSim/Data/NHibernate/NHibernateRegionData.cs | |||
@@ -376,8 +376,8 @@ namespace OpenSim.Data.NHibernate | |||
376 | // BinaryWriter bw = new BinaryWriter(str); | 376 | // BinaryWriter bw = new BinaryWriter(str); |
377 | // | 377 | // |
378 | // // TODO: COMPATIBILITY - Add byte-order conversions | 378 | // // TODO: COMPATIBILITY - Add byte-order conversions |
379 | // for (int x = 0; x < 256; x++) | 379 | // for (int x = 0; x < (int)Constants.RegionSize; x++) |
380 | // for (int y = 0; y < 256; y++) | 380 | // for (int y = 0; y < (int)Constants.RegionSize; y++) |
381 | // bw.Write(val[x, y]); | 381 | // bw.Write(val[x, y]); |
382 | // | 382 | // |
383 | // return str.ToArray(); | 383 | // return str.ToArray(); |