From 36fba5e7e29667544e84541d9d116cda98655f0b Mon Sep 17 00:00:00 2001 From: MW Date: Wed, 29 Aug 2007 15:39:57 +0000 Subject: Various small changes (some likely to be removed again soon) --- OpenSim/Region/Environment/Scenes/Scene.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs') 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 //API method Delegates // this most likely shouldn't be handled as a API method like this, but doing it for testing purposes - public ModuleAPIMethodAddXferFile = null; + public ModuleAPIMethod2AddXferFile = null; #region Properties @@ -196,7 +196,7 @@ namespace OpenSim.Region.Environment.Scenes private void SetMethodDelegates() { - AddXferFile = (ModuleAPIMethod)this.RequestAPIMethod("API_AddXferFile"); + AddXferFile = (ModuleAPIMethod2)this.RequestAPIMethod("API_AddXferFile"); } #region Script Handling Methods @@ -267,7 +267,7 @@ namespace OpenSim.Region.Environment.Scenes //backup scene data storageCount++; - if (storageCount > 600) //set to how often you want to backup + if (storageCount > 1200) //set to how often you want to backup { Backup(); storageCount = 0; @@ -692,6 +692,7 @@ namespace OpenSim.Region.Environment.Scenes protected virtual void SubscribeToClientEvents(IClientAPI client) { + // client.OnStartAnim += StartAnimation; client.OnRegionHandShakeReply += SendLayerData; //remoteClient.OnRequestWearables += new GenericCall(this.GetInitialPrims); client.OnModifyTerrain += ModifyTerrain; -- cgit v1.1