diff options
author | Robert Adams | 2013-11-04 22:09:52 -0800 |
---|---|---|
committer | Robert Adams | 2013-11-04 22:09:52 -0800 |
commit | cd1a23fc142a12bb14ddb9d88d39e6acb41937b4 (patch) | |
tree | ddd50bb6c9f1b9cdde9bc52b3eb1612149055552 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | varregion: remove unused terrain serialization code in SQLite and PGSQL modules (diff) | |
download | opensim-SC_OLD-cd1a23fc142a12bb14ddb9d88d39e6acb41937b4.zip opensim-SC_OLD-cd1a23fc142a12bb14ddb9d88d39e6acb41937b4.tar.gz opensim-SC_OLD-cd1a23fc142a12bb14ddb9d88d39e6acb41937b4.tar.bz2 opensim-SC_OLD-cd1a23fc142a12bb14ddb9d88d39e6acb41937b4.tar.xz |
varregion: remove uses of region size constant. In particular, update scene
to check for border crossings based on the size of the region.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 4b4e4ba..eed8908 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -842,9 +842,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
842 | maxX = -256f; | 842 | maxX = -256f; |
843 | maxY = -256f; | 843 | maxY = -256f; |
844 | maxZ = -256f; | 844 | maxZ = -256f; |
845 | minX = 256f; | 845 | minX = 10000f; |
846 | minY = 256f; | 846 | minY = 10000f; |
847 | minZ = 8192f; | 847 | minZ = 10000f; |
848 | 848 | ||
849 | SceneObjectPart[] parts = m_parts.GetArray(); | 849 | SceneObjectPart[] parts = m_parts.GetArray(); |
850 | for (int i = 0; i < parts.Length; i++) | 850 | for (int i = 0; i < parts.Length; i++) |