diff options
author | Sean Dague | 2009-07-02 12:00:39 +0000 |
---|---|---|
committer | Sean Dague | 2009-07-02 12:00:39 +0000 |
commit | 49f89dd75873e2a59a7b0ff89fd8884bdc8b5cbf (patch) | |
tree | ce709a33b4eb07c3b211ec0d8fd301d2858ab8fc | |
parent | Restore some lost functionality tot he combat module. Code that used to (diff) | |
download | opensim-SC-49f89dd75873e2a59a7b0ff89fd8884bdc8b5cbf.zip opensim-SC-49f89dd75873e2a59a7b0ff89fd8884bdc8b5cbf.tar.gz opensim-SC-49f89dd75873e2a59a7b0ff89fd8884bdc8b5cbf.tar.bz2 opensim-SC-49f89dd75873e2a59a7b0ff89fd8884bdc8b5cbf.tar.xz |
make methods surounding backup virtual so they could be override for server side created objects
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index f73d9ca..46ce8fd 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -463,7 +463,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
463 | /// <summary> | 463 | /// <summary> |
464 | /// Hooks this object up to the backup event so that it is persisted to the database when the update thread executes. | 464 | /// Hooks this object up to the backup event so that it is persisted to the database when the update thread executes. |
465 | /// </summary> | 465 | /// </summary> |
466 | public void AttachToBackup() | 466 | public virtual void AttachToBackup() |
467 | { | 467 | { |
468 | if (InSceneBackup) | 468 | if (InSceneBackup) |
469 | { | 469 | { |
@@ -1063,7 +1063,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1063 | /// Processes backup. | 1063 | /// Processes backup. |
1064 | /// </summary> | 1064 | /// </summary> |
1065 | /// <param name="datastore"></param> | 1065 | /// <param name="datastore"></param> |
1066 | public void ProcessBackup(IRegionDataStore datastore, bool forcedBackup) | 1066 | public virtual void ProcessBackup(IRegionDataStore datastore, bool forcedBackup) |
1067 | { | 1067 | { |
1068 | if (!m_isBackedUp) | 1068 | if (!m_isBackedUp) |
1069 | return; | 1069 | return; |
@@ -2063,7 +2063,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2063 | /// Stop this object from being persisted over server restarts. | 2063 | /// Stop this object from being persisted over server restarts. |
2064 | /// </summary> | 2064 | /// </summary> |
2065 | /// <param name="objectGroup"></param> | 2065 | /// <param name="objectGroup"></param> |
2066 | public void DetachFromBackup() | 2066 | public virtual void DetachFromBackup() |
2067 | { | 2067 | { |
2068 | if (m_isBackedUp) | 2068 | if (m_isBackedUp) |
2069 | m_scene.EventManager.OnBackup -= ProcessBackup; | 2069 | m_scene.EventManager.OnBackup -= ProcessBackup; |