aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-08-29 21:47:28 -0400
committerTeravus Ovares (Dan Olivares)2009-08-29 21:47:28 -0400
commit44b7c39c9302a466b45fbb331402091fbf15a41e (patch)
treee4628105f8f214afed28e9e54c3316b321ec88d3 /OpenSim/Region/Framework
parent* Fixes looking up parcel permissions in virtual regions. (diff)
downloadopensim-SC_OLD-44b7c39c9302a466b45fbb331402091fbf15a41e.zip
opensim-SC_OLD-44b7c39c9302a466b45fbb331402091fbf15a41e.tar.gz
opensim-SC_OLD-44b7c39c9302a466b45fbb331402091fbf15a41e.tar.bz2
opensim-SC_OLD-44b7c39c9302a466b45fbb331402091fbf15a41e.tar.xz
* Fix the reason why physical vehicles have a problem in virtual regions.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index cf716e8..40e7471 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -2097,7 +2097,8 @@ if (m_shape != null) {
2097 if (PhysActor != null) 2097 if (PhysActor != null)
2098 { 2098 {
2099 Vector3 newpos = new Vector3(PhysActor.Position.GetBytes(), 0); 2099 Vector3 newpos = new Vector3(PhysActor.Position.GetBytes(), 0);
2100 if (newpos.X > 257f || newpos.X < -1f || newpos.Y > 257f || newpos.Y < -1f) 2100
2101 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))
2101 { 2102 {
2102 m_parentGroup.AbsolutePosition = newpos; 2103 m_parentGroup.AbsolutePosition = newpos;
2103 return; 2104 return;