diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 567c6ea..6f26176 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -699,7 +699,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
699 | set { m_rootPart.Text = value; } | 699 | set { m_rootPart.Text = value; } |
700 | } | 700 | } |
701 | 701 | ||
702 | protected virtual bool InSceneBackup | 702 | /// <summary> |
703 | /// If set to true then the scene object can be backed up in principle, though this will only actually occur | ||
704 | /// if Backup is set. If false then the scene object will never be backed up, Backup will always be false. | ||
705 | /// </summary> | ||
706 | protected virtual bool CanBeBackedUp | ||
703 | { | 707 | { |
704 | get { return true; } | 708 | get { return true; } |
705 | } | 709 | } |
@@ -880,7 +884,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
880 | /// </summary> | 884 | /// </summary> |
881 | public virtual void AttachToBackup() | 885 | public virtual void AttachToBackup() |
882 | { | 886 | { |
883 | if (InSceneBackup) | 887 | if (CanBeBackedUp) |
884 | { | 888 | { |
885 | //m_log.DebugFormat( | 889 | //m_log.DebugFormat( |
886 | // "[SCENE OBJECT GROUP]: Attaching object {0} {1} to scene presistence sweep", Name, UUID); | 890 | // "[SCENE OBJECT GROUP]: Attaching object {0} {1} to scene presistence sweep", Name, UUID); |