diff options
author | Melanie Thielker | 2008-10-03 13:45:54 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-03 13:45:54 +0000 |
commit | 36097a8198772d937c82e7bfc6e01a643d7785af (patch) | |
tree | de4a6b516edf12ef24edee02bbd228c1be5d19fd /OpenSim/Region/Environment/Scenes/InnerScene.cs | |
parent | fix the sqlite break. There were two issue here: (diff) | |
download | opensim-SC-36097a8198772d937c82e7bfc6e01a643d7785af.zip opensim-SC-36097a8198772d937c82e7bfc6e01a643d7785af.tar.gz opensim-SC-36097a8198772d937c82e7bfc6e01a643d7785af.tar.bz2 opensim-SC-36097a8198772d937c82e7bfc6e01a643d7785af.tar.xz |
Prevent attachments to be persisted in the destination region when the
avatar is not present there.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 4 |
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 | { |