diff options
author | Justin Clark-Casey (justincc) | 2014-03-22 01:36:21 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-03-22 01:36:21 +0000 |
commit | ccf18fd2ef54d0956383b4d94d04cea922f35b6d (patch) | |
tree | 62d3898efdf3e9025b45fc3e88ede51c7dedca5c /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | If an object has it's temporary flag unset after being set, put it back in th... (diff) | |
download | opensim-SC_OLD-ccf18fd2ef54d0956383b4d94d04cea922f35b6d.zip opensim-SC_OLD-ccf18fd2ef54d0956383b4d94d04cea922f35b6d.tar.gz opensim-SC_OLD-ccf18fd2ef54d0956383b4d94d04cea922f35b6d.tar.bz2 opensim-SC_OLD-ccf18fd2ef54d0956383b4d94d04cea922f35b6d.tar.xz |
Rename SOG.InSceneBackup to CanBeBackedUp to reflect its actual functionality.
It does not indicate that a SOG has been set to be backed up or not. It indicates that a SOG can be backed up in principle.
In practice, this was added by lbsa71 in 2007 and is set to always true, albeit as a virtual property.
Diffstat (limited to '')
-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); |