diff options
author | Melanie | 2012-02-14 00:02:53 +0100 |
---|---|---|
committer | Melanie | 2012-02-14 00:02:53 +0100 |
commit | e3213065173e1408a138eb0bce0c9e936073b19b (patch) | |
tree | 9f16fe341720f5131cc3060e156c9d534be01e02 /OpenSim/Region/Framework/Scenes | |
parent | Merge branch 'master' into careminster (diff) | |
download | opensim-SC_OLD-e3213065173e1408a138eb0bce0c9e936073b19b.zip opensim-SC_OLD-e3213065173e1408a138eb0bce0c9e936073b19b.tar.gz opensim-SC_OLD-e3213065173e1408a138eb0bce0c9e936073b19b.tar.bz2 opensim-SC_OLD-e3213065173e1408a138eb0bce0c9e936073b19b.tar.xz |
Prevent object loss and positioning outside the region with failed object sim
crossings
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 683aafc..877fe96 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -466,6 +466,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
466 | && !IsAttachmentCheckFull() && (!Scene.LoadingPrims)) | 466 | && !IsAttachmentCheckFull() && (!Scene.LoadingPrims)) |
467 | { | 467 | { |
468 | m_scene.CrossPrimGroupIntoNewRegion(val, this, true); | 468 | m_scene.CrossPrimGroupIntoNewRegion(val, this, true); |
469 | |||
470 | if (IsDeleted) | ||
471 | return; | ||
472 | val = AbsolutePosition; | ||
469 | } | 473 | } |
470 | } | 474 | } |
471 | 475 | ||