From 49f89dd75873e2a59a7b0ff89fd8884bdc8b5cbf Mon Sep 17 00:00:00 2001
From: Sean Dague
Date: Thu, 2 Jul 2009 12:00:39 +0000
Subject: make methods surounding backup virtual so they could be override for
server side created objects
---
OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'OpenSim/Region/Framework/Scenes')
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
///
/// Hooks this object up to the backup event so that it is persisted to the database when the update thread executes.
///
- public void AttachToBackup()
+ public virtual void AttachToBackup()
{
if (InSceneBackup)
{
@@ -1063,7 +1063,7 @@ namespace OpenSim.Region.Framework.Scenes
/// Processes backup.
///
///
- public void ProcessBackup(IRegionDataStore datastore, bool forcedBackup)
+ public virtual void ProcessBackup(IRegionDataStore datastore, bool forcedBackup)
{
if (!m_isBackedUp)
return;
@@ -2063,7 +2063,7 @@ namespace OpenSim.Region.Framework.Scenes
/// Stop this object from being persisted over server restarts.
///
///
- public void DetachFromBackup()
+ public virtual void DetachFromBackup()
{
if (m_isBackedUp)
m_scene.EventManager.OnBackup -= ProcessBackup;
--
cgit v1.1