diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 73d0984..7c236e8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2083,6 +2083,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2083 | { | 2083 | { |
2084 | if (PhysActor != null) | 2084 | if (PhysActor != null) |
2085 | { | 2085 | { |
2086 | |||
2086 | Vector3 newpos = new Vector3(PhysActor.Position.GetBytes(), 0); | 2087 | Vector3 newpos = new Vector3(PhysActor.Position.GetBytes(), 0); |
2087 | 2088 | ||
2088 | if (m_parentGroup.Scene.TestBorderCross(newpos, Cardinals.N) | m_parentGroup.Scene.TestBorderCross(newpos, Cardinals.S) | m_parentGroup.Scene.TestBorderCross(newpos, Cardinals.E) | m_parentGroup.Scene.TestBorderCross(newpos, Cardinals.W)) | 2089 | if (m_parentGroup.Scene.TestBorderCross(newpos, Cardinals.N) | m_parentGroup.Scene.TestBorderCross(newpos, Cardinals.S) | m_parentGroup.Scene.TestBorderCross(newpos, Cardinals.E) | m_parentGroup.Scene.TestBorderCross(newpos, Cardinals.W)) |
@@ -2090,6 +2091,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2090 | m_parentGroup.AbsolutePosition = newpos; | 2091 | m_parentGroup.AbsolutePosition = newpos; |
2091 | return; | 2092 | return; |
2092 | } | 2093 | } |
2094 | //m_parentGroup.RootPart.m_groupPosition = newpos; | ||
2093 | } | 2095 | } |
2094 | ScheduleTerseUpdate(); | 2096 | ScheduleTerseUpdate(); |
2095 | 2097 | ||
@@ -2428,6 +2430,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2428 | ClearUpdateSchedule(); | 2430 | ClearUpdateSchedule(); |
2429 | } | 2431 | } |
2430 | } | 2432 | } |
2433 | ClearUpdateSchedule(); | ||
2431 | } | 2434 | } |
2432 | 2435 | ||
2433 | /// <summary> | 2436 | /// <summary> |