aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
index 2bf418d..a130ed2 100644
--- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs
@@ -834,14 +834,14 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments
834// m_log.DebugFormat( 834// m_log.DebugFormat(
835// "[ATTACHMENTS MODULE]: Called AddSceneObjectAsAttachment for object {0} {1} for {2}", 835// "[ATTACHMENTS MODULE]: Called AddSceneObjectAsAttachment for object {0} {1} for {2}",
836// grp.Name, grp.LocalId, remoteClient.Name); 836// grp.Name, grp.LocalId, remoteClient.Name);
837 837 uint regionSize = Constants.RegionSize; //Avoid VS error "The operation overflows at compile time in checked mode"
838 Vector3 inventoryStoredPosition = new Vector3 838 Vector3 inventoryStoredPosition = new Vector3
839 (((grp.AbsolutePosition.X > (int)Constants.RegionSize) 839 (((grp.AbsolutePosition.X > (int)Constants.RegionSize)
840 ? Constants.RegionSize - 6 840 ? regionSize - 6
841 : grp.AbsolutePosition.X) 841 : grp.AbsolutePosition.X)
842 , 842 ,
843 (grp.AbsolutePosition.Y > (int)Constants.RegionSize) 843 (grp.AbsolutePosition.Y > (int)Constants.RegionSize)
844 ? Constants.RegionSize - 6 844 ? regionSize - 6
845 : grp.AbsolutePosition.Y, 845 : grp.AbsolutePosition.Y,
846 grp.AbsolutePosition.Z); 846 grp.AbsolutePosition.Z);
847 847