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/Region/CoreModules/Scripting/EMailModules | |
parent | Silly error, simple fix (diff) | |
download | opensim-SC_OLD-c8a68fb3fbac0d99b53a62bb062232c0d5695d3c.zip opensim-SC_OLD-c8a68fb3fbac0d99b53a62bb062232c0d5695d3c.tar.gz opensim-SC_OLD-c8a68fb3fbac0d99b53a62bb062232c0d5695d3c.tar.bz2 opensim-SC_OLD-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/Region/CoreModules/Scripting/EMailModules')
-rw-r--r-- | OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs b/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs index 905239b..83f004d 100644 --- a/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs +++ b/OpenSim/Region/CoreModules/Scripting/EMailModules/EmailModule.cs | |||
@@ -34,6 +34,7 @@ using DotNetOpenMail.SmtpAuth; | |||
34 | using log4net; | 34 | using log4net; |
35 | using Nini.Config; | 35 | using Nini.Config; |
36 | using OpenMetaverse; | 36 | using OpenMetaverse; |
37 | using OpenSim.Framework; | ||
37 | using OpenSim.Region.Framework.Interfaces; | 38 | using OpenSim.Region.Framework.Interfaces; |
38 | using OpenSim.Region.Framework.Scenes; | 39 | using OpenSim.Region.Framework.Scenes; |
39 | 40 | ||
@@ -205,8 +206,8 @@ namespace OpenSim.Region.CoreModules.Scripting.EmailModules | |||
205 | if (part != null) | 206 | if (part != null) |
206 | { | 207 | { |
207 | ObjectRegionName = s.RegionInfo.RegionName; | 208 | ObjectRegionName = s.RegionInfo.RegionName; |
208 | uint localX = (s.RegionInfo.RegionLocX * 256); | 209 | uint localX = (s.RegionInfo.RegionLocX * (int)Constants.RegionSize); |
209 | uint localY = (s.RegionInfo.RegionLocY * 256); | 210 | uint localY = (s.RegionInfo.RegionLocY * (int)Constants.RegionSize); |
210 | ObjectRegionName = ObjectRegionName + " (" + localX + ", " + localY + ")"; | 211 | ObjectRegionName = ObjectRegionName + " (" + localX + ", " + localY + ")"; |
211 | return part; | 212 | return part; |
212 | } | 213 | } |