aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-11-21 04:33:34 -0500
committerTeravus Ovares (Dan Olivares)2009-11-21 04:33:34 -0500
commit0ffda7128e67a217bb494355d454ff0bd62e6bb5 (patch)
tree6d35889e7bdf484b6cdefd32a578ed7cb09b201e /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentFix http://opensimulator.org/mantis/view.php?id=3874 - parenthesis in for sta... (diff)
downloadopensim-SC_OLD-0ffda7128e67a217bb494355d454ff0bd62e6bb5.zip
opensim-SC_OLD-0ffda7128e67a217bb494355d454ff0bd62e6bb5.tar.gz
opensim-SC_OLD-0ffda7128e67a217bb494355d454ff0bd62e6bb5.tar.bz2
opensim-SC_OLD-0ffda7128e67a217bb494355d454ff0bd62e6bb5.tar.xz
* Fixes one of two terse update issues. There's still one left, but this one fixes the situation where the object on the server is moving but no updates are being sent.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs3
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>