From c9fbc03a1825f58f647a11d2f9f4f21ff4925757 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 3 Oct 2008 05:23:30 +0000 Subject: 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. --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 if (HasGroupChanged) { // don't backup while it's selected or you're asking for changes mid stream. - if ((!IsSelected) && (RootPart != null)) + if ((!IsSelected) && (RootPart != null) && (!m_rootPart.IsAttachment)) { m_log.DebugFormat( "[SCENE]: Storing {0}, {1} in {2}", -- cgit v1.1