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.0.8.0.3
parent
a5800f479e
commit
ccf18fd2ef
|
@ -699,7 +699,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
set { m_rootPart.Text = value; }
|
set { m_rootPart.Text = value; }
|
||||||
}
|
}
|
||||||
|
|
||||||
protected virtual bool InSceneBackup
|
/// <summary>
|
||||||
|
/// If set to true then the scene object can be backed up in principle, though this will only actually occur
|
||||||
|
/// if Backup is set. If false then the scene object will never be backed up, Backup will always be false.
|
||||||
|
/// </summary>
|
||||||
|
protected virtual bool CanBeBackedUp
|
||||||
{
|
{
|
||||||
get { return true; }
|
get { return true; }
|
||||||
}
|
}
|
||||||
|
@ -880,7 +884,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual void AttachToBackup()
|
public virtual void AttachToBackup()
|
||||||
{
|
{
|
||||||
if (InSceneBackup)
|
if (CanBeBackedUp)
|
||||||
{
|
{
|
||||||
//m_log.DebugFormat(
|
//m_log.DebugFormat(
|
||||||
// "[SCENE OBJECT GROUP]: Attaching object {0} {1} to scene presistence sweep", Name, UUID);
|
// "[SCENE OBJECT GROUP]: Attaching object {0} {1} to scene presistence sweep", Name, UUID);
|
||||||
|
|
Loading…
Reference in New Issue