aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index ba9569e..92f26ef 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -90,7 +90,7 @@ namespace OpenSim.Region.Environment.Scenes
90 //API method Delegates 90 //API method Delegates
91 91
92 // this most likely shouldn't be handled as a API method like this, but doing it for testing purposes 92 // this most likely shouldn't be handled as a API method like this, but doing it for testing purposes
93 public ModuleAPIMethod<bool, string, byte[]>AddXferFile = null; 93 public ModuleAPIMethod2<bool, string, byte[]>AddXferFile = null;
94 94
95 #region Properties 95 #region Properties
96 96
@@ -196,7 +196,7 @@ namespace OpenSim.Region.Environment.Scenes
196 196
197 private void SetMethodDelegates() 197 private void SetMethodDelegates()
198 { 198 {
199 AddXferFile = (ModuleAPIMethod<bool, string, byte[]>)this.RequestAPIMethod("API_AddXferFile"); 199 AddXferFile = (ModuleAPIMethod2<bool, string, byte[]>)this.RequestAPIMethod("API_AddXferFile");
200 } 200 }
201 201
202 #region Script Handling Methods 202 #region Script Handling Methods
@@ -267,7 +267,7 @@ namespace OpenSim.Region.Environment.Scenes
267 267
268 //backup scene data 268 //backup scene data
269 storageCount++; 269 storageCount++;
270 if (storageCount > 600) //set to how often you want to backup 270 if (storageCount > 1200) //set to how often you want to backup
271 { 271 {
272 Backup(); 272 Backup();
273 storageCount = 0; 273 storageCount = 0;
@@ -692,6 +692,7 @@ namespace OpenSim.Region.Environment.Scenes
692 692
693 protected virtual void SubscribeToClientEvents(IClientAPI client) 693 protected virtual void SubscribeToClientEvents(IClientAPI client)
694 { 694 {
695 // client.OnStartAnim += StartAnimation;
695 client.OnRegionHandShakeReply += SendLayerData; 696 client.OnRegionHandShakeReply += SendLayerData;
696 //remoteClient.OnRequestWearables += new GenericCall(this.GetInitialPrims); 697 //remoteClient.OnRequestWearables += new GenericCall(this.GetInitialPrims);
697 client.OnModifyTerrain += ModifyTerrain; 698 client.OnModifyTerrain += ModifyTerrain;