aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-03 13:45:54 +0000
committerMelanie Thielker2008-10-03 13:45:54 +0000
commit36097a8198772d937c82e7bfc6e01a643d7785af (patch)
treede4a6b516edf12ef24edee02bbd228c1be5d19fd /OpenSim/Region/Environment/Scenes/InnerScene.cs
parentfix the sqlite break. There were two issue here: (diff)
downloadopensim-SC_OLD-36097a8198772d937c82e7bfc6e01a643d7785af.zip
opensim-SC_OLD-36097a8198772d937c82e7bfc6e01a643d7785af.tar.gz
opensim-SC_OLD-36097a8198772d937c82e7bfc6e01a643d7785af.tar.bz2
opensim-SC_OLD-36097a8198772d937c82e7bfc6e01a643d7785af.tar.xz
Prevent attachments to be persisted in the destination region when the
avatar is not present there.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index d63544a..f58f334 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -517,6 +517,10 @@ namespace OpenSim.Region.Environment.Scenes
517 group.SetFromAssetID(newAssetID); 517 group.SetFromAssetID(newAssetID);
518 } 518 }
519 group.AttachToAgent(remoteClient.AgentId, AttachmentPt, attachPos); 519 group.AttachToAgent(remoteClient.AgentId, AttachmentPt, attachPos);
520 // In case it is later dropped again, don't let
521 // it get cleaned up
522 //
523 group.RootPart.RemFlag(PrimFlags.TemporaryOnRez);
520 } 524 }
521 else 525 else
522 { 526 {