mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
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.
This commit is contained in:
@@ -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}",
|
||||
|
||||
Reference in New Issue
Block a user