aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-24 21:18:11 +0100
committerJustin Clark-Casey (justincc)2011-08-24 21:18:11 +0100
commit0e0d40c810c00dac02d0167866714212351097b0 (patch)
tree0215562b187b25b3634406fb5688e5943f7d55b8 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parentrefactor: remove pointless AgentId argument from attachObjectAssetStore() (diff)
downloadopensim-SC_OLD-0e0d40c810c00dac02d0167866714212351097b0.zip
opensim-SC_OLD-0e0d40c810c00dac02d0167866714212351097b0.tar.gz
opensim-SC_OLD-0e0d40c810c00dac02d0167866714212351097b0.tar.bz2
opensim-SC_OLD-0e0d40c810c00dac02d0167866714212351097b0.tar.xz
minor: remove hardcoded region numbers with the region size constant and a currently hardcoded offset
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index 66905fe..3e87578 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1880,11 +1880,11 @@ namespace OpenSim.Region.Framework.Scenes
1880 { 1880 {
1881 Vector3 inventoryStoredPosition = new Vector3 1881 Vector3 inventoryStoredPosition = new Vector3
1882 (((grp.AbsolutePosition.X > (int)Constants.RegionSize) 1882 (((grp.AbsolutePosition.X > (int)Constants.RegionSize)
1883 ? 250 1883 ? Constants.RegionSize - 6
1884 : grp.AbsolutePosition.X) 1884 : grp.AbsolutePosition.X)
1885 , 1885 ,
1886 (grp.AbsolutePosition.Y > (int)Constants.RegionSize) 1886 (grp.AbsolutePosition.Y > (int)Constants.RegionSize)
1887 ? 250 1887 ? Constants.RegionSize - 6
1888 : grp.AbsolutePosition.Y, 1888 : grp.AbsolutePosition.Y,
1889 grp.AbsolutePosition.Z); 1889 grp.AbsolutePosition.Z);
1890 1890