diff options
author | Melanie Thielker | 2008-10-03 05:23:30 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-03 05:23:30 +0000 |
commit | c9fbc03a1825f58f647a11d2f9f4f21ff4925757 (patch) | |
tree | 596b41f749833fe8831d5ee39f1e540fb807f906 /OpenSim/Region | |
parent | Mantis#2307. Thank you kindly, Godfrey for a patch that solves: (diff) | |
download | opensim-SC_OLD-c9fbc03a1825f58f647a11d2f9f4f21ff4925757.zip opensim-SC_OLD-c9fbc03a1825f58f647a11d2f9f4f21ff4925757.tar.gz opensim-SC_OLD-c9fbc03a1825f58f647a11d2f9f4f21ff4925757.tar.bz2 opensim-SC_OLD-c9fbc03a1825f58f647a11d2f9f4f21ff4925757.tar.xz |
Attempt to prevent attached prims from being persisted. Attachments with
invisiprim refresh scripts get sent to the database and remain there when
the agent logs out. This tries to prevent that.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index f08f4a4..482d936 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1139,7 +1139,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1139 | if (HasGroupChanged) | 1139 | if (HasGroupChanged) |
1140 | { | 1140 | { |
1141 | // don't backup while it's selected or you're asking for changes mid stream. | 1141 | // don't backup while it's selected or you're asking for changes mid stream. |
1142 | if ((!IsSelected) && (RootPart != null)) | 1142 | if ((!IsSelected) && (RootPart != null) && (!m_rootPart.IsAttachment)) |
1143 | { | 1143 | { |
1144 | m_log.DebugFormat( | 1144 | m_log.DebugFormat( |
1145 | "[SCENE]: Storing {0}, {1} in {2}", | 1145 | "[SCENE]: Storing {0}, {1} in {2}", |