diff options
author | lbsa71 | 2009-02-12 09:53:12 +0000 |
---|---|---|
committer | lbsa71 | 2009-02-12 09:53:12 +0000 |
commit | 801da4346aeb3c08969c4845f5c595135a64470a (patch) | |
tree | 2f06e24c72e0d513c8e4c6aa9b75cd2c7b50f393 /OpenSim/Region/Framework | |
parent | Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Ma... (diff) | |
download | opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.zip opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.gz opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.bz2 opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.xz |
* optimized usings.
Diffstat (limited to 'OpenSim/Region/Framework')
34 files changed, 38 insertions, 108 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAgentAssetTransactions.cs b/OpenSim/Region/Framework/Interfaces/IAgentAssetTransactions.cs index 49a5dd0..b41ba9e 100644 --- a/OpenSim/Region/Framework/Interfaces/IAgentAssetTransactions.cs +++ b/OpenSim/Region/Framework/Interfaces/IAgentAssetTransactions.cs | |||
@@ -27,7 +27,6 @@ | |||
27 | 27 | ||
28 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
30 | using OpenSim.Region.Framework.Interfaces; | ||
31 | using OpenSim.Region.Framework.Scenes; | 30 | using OpenSim.Region.Framework.Scenes; |
32 | 31 | ||
33 | namespace OpenSim.Region.Framework.Interfaces | 32 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/IAvatarFactory.cs b/OpenSim/Region/Framework/Interfaces/IAvatarFactory.cs index b533206..d39fff9 100644 --- a/OpenSim/Region/Framework/Interfaces/IAvatarFactory.cs +++ b/OpenSim/Region/Framework/Interfaces/IAvatarFactory.cs | |||
@@ -27,7 +27,6 @@ | |||
27 | 27 | ||
28 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
30 | using OpenSim.Region.Framework.Interfaces; | ||
31 | 30 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
33 | { | 32 | { |
diff --git a/OpenSim/Region/Framework/Interfaces/ICapabilitiesModule.cs b/OpenSim/Region/Framework/Interfaces/ICapabilitiesModule.cs index bac0b2e..ddc62d2 100644 --- a/OpenSim/Region/Framework/Interfaces/ICapabilitiesModule.cs +++ b/OpenSim/Region/Framework/Interfaces/ICapabilitiesModule.cs | |||
@@ -25,11 +25,10 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using OpenMetaverse; | 29 | using OpenMetaverse; |
31 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
32 | using Caps = OpenSim.Framework.Communications.Capabilities.Caps; | 31 | using Caps=OpenSim.Framework.Communications.Capabilities.Caps; |
33 | 32 | ||
34 | namespace OpenSim.Region.Framework.Interfaces | 33 | namespace OpenSim.Region.Framework.Interfaces |
35 | { | 34 | { |
diff --git a/OpenSim/Region/Framework/Interfaces/IDialogModule.cs b/OpenSim/Region/Framework/Interfaces/IDialogModule.cs index 7247d52..d6f3340 100644 --- a/OpenSim/Region/Framework/Interfaces/IDialogModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IDialogModule.cs | |||
@@ -25,7 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenMetaverse; | 28 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 29 | using OpenSim.Framework; |
31 | 30 | ||
diff --git a/OpenSim/Region/Framework/Interfaces/IEmailModule.cs b/OpenSim/Region/Framework/Interfaces/IEmailModule.cs index b5f885a..f06fbc8 100644 --- a/OpenSim/Region/Framework/Interfaces/IEmailModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IEmailModule.cs | |||
@@ -25,8 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenSim.Framework; | ||
30 | using OpenMetaverse; | 28 | using OpenMetaverse; |
31 | 29 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs index 20fe090..69b2bad 100644 --- a/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs +++ b/OpenSim/Region/Framework/Interfaces/IEntityInventory.cs | |||
@@ -25,15 +25,9 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using System.Reflection; | ||
31 | using OpenMetaverse; | 29 | using OpenMetaverse; |
32 | using log4net; | ||
33 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
34 | using OpenSim.Framework.Communications.Cache; | ||
35 | using OpenSim.Region.Framework.Interfaces; | ||
36 | using OpenSim.Region.Framework.Scenes.Scripting; | ||
37 | 31 | ||
38 | namespace OpenSim.Region.Framework.Interfaces | 32 | namespace OpenSim.Region.Framework.Interfaces |
39 | { | 33 | { |
diff --git a/OpenSim/Region/Framework/Interfaces/IEstateDataStore.cs b/OpenSim/Region/Framework/Interfaces/IEstateDataStore.cs index 4da115e..faa9002 100644 --- a/OpenSim/Region/Framework/Interfaces/IEstateDataStore.cs +++ b/OpenSim/Region/Framework/Interfaces/IEstateDataStore.cs | |||
@@ -25,9 +25,8 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenSim.Framework; | ||
30 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using OpenSim.Framework; | ||
31 | 30 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
33 | { | 32 | { |
diff --git a/OpenSim/Region/Framework/Interfaces/IEstateModule.cs b/OpenSim/Region/Framework/Interfaces/IEstateModule.cs index f169f61..59f68ef 100644 --- a/OpenSim/Region/Framework/Interfaces/IEstateModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IEstateModule.cs | |||
@@ -25,8 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenSim.Framework; | ||
30 | using OpenMetaverse; | 28 | using OpenMetaverse; |
31 | 29 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/IEventQueue.cs b/OpenSim/Region/Framework/Interfaces/IEventQueue.cs index cf609ae..b8874e3 100644 --- a/OpenSim/Region/Framework/Interfaces/IEventQueue.cs +++ b/OpenSim/Region/Framework/Interfaces/IEventQueue.cs | |||
@@ -25,14 +25,10 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using System.Net; | 28 | using System.Net; |
30 | using OpenSim.Framework; | ||
31 | using OpenMetaverse; | 29 | using OpenMetaverse; |
32 | using OpenMetaverse.Packets; | 30 | using OpenMetaverse.Packets; |
33 | using OpenMetaverse.StructuredData; | 31 | using OpenMetaverse.StructuredData; |
34 | using System.Collections.Generic; | ||
35 | using System.Text; | ||
36 | 32 | ||
37 | namespace OpenSim.Region.Framework.Interfaces | 33 | namespace OpenSim.Region.Framework.Interfaces |
38 | { | 34 | { |
diff --git a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs index 16527d1..67c88dd 100644 --- a/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IGroupsModule.cs | |||
@@ -25,10 +25,9 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using OpenSim.Framework; | ||
31 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using OpenSim.Framework; | ||
32 | 31 | ||
33 | namespace OpenSim.Region.Framework.Interfaces | 32 | namespace OpenSim.Region.Framework.Interfaces |
34 | { | 33 | { |
diff --git a/OpenSim/Region/Framework/Interfaces/IHttpRequests.cs b/OpenSim/Region/Framework/Interfaces/IHttpRequests.cs index fd49757..e552270 100644 --- a/OpenSim/Region/Framework/Interfaces/IHttpRequests.cs +++ b/OpenSim/Region/Framework/Interfaces/IHttpRequests.cs | |||
@@ -25,9 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using System.Net; | ||
31 | using OpenMetaverse; | 29 | using OpenMetaverse; |
32 | 30 | ||
33 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/IInterregionComms.cs b/OpenSim/Region/Framework/Interfaces/IInterregionComms.cs index bfa17fc..06ef1aa 100644 --- a/OpenSim/Region/Framework/Interfaces/IInterregionComms.cs +++ b/OpenSim/Region/Framework/Interfaces/IInterregionComms.cs | |||
@@ -25,9 +25,8 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenSim.Framework; | ||
30 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using OpenSim.Framework; | ||
31 | 30 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
33 | { | 32 | { |
diff --git a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs index 0e1e851..f68807a 100644 --- a/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IInventoryArchiverModule.cs | |||
@@ -25,8 +25,8 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.IO; | 28 | using System.IO; |
29 | 29 | ||
30 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
31 | { | 31 | { |
32 | public interface IInventoryArchiverModule | 32 | public interface IInventoryArchiverModule |
diff --git a/OpenSim/Region/Framework/Interfaces/IInventoryTransferModule.cs b/OpenSim/Region/Framework/Interfaces/IInventoryTransferModule.cs index 4314271..716d7a8 100644 --- a/OpenSim/Region/Framework/Interfaces/IInventoryTransferModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IInventoryTransferModule.cs | |||
@@ -25,7 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System.Collections.Generic; | ||
29 | using OpenMetaverse; | 28 | using OpenMetaverse; |
30 | using OpenSim.Region.Framework.Scenes; | 29 | using OpenSim.Region.Framework.Scenes; |
31 | 30 | ||
diff --git a/OpenSim/Region/Framework/Interfaces/ILandChannel.cs b/OpenSim/Region/Framework/Interfaces/ILandChannel.cs index 35c2fc1..341dd3e 100644 --- a/OpenSim/Region/Framework/Interfaces/ILandChannel.cs +++ b/OpenSim/Region/Framework/Interfaces/ILandChannel.cs | |||
@@ -28,7 +28,6 @@ | |||
28 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
29 | using OpenMetaverse; | 29 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
31 | using OpenSim.Region.Framework.Interfaces; | ||
32 | 31 | ||
33 | namespace OpenSim.Region.Framework.Interfaces | 32 | namespace OpenSim.Region.Framework.Interfaces |
34 | { | 33 | { |
diff --git a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs index f0a5473..ffae307 100644 --- a/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IMessageTransferModule.cs | |||
@@ -25,9 +25,7 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenSim.Framework; | 28 | using OpenSim.Framework; |
30 | using OpenMetaverse; | ||
31 | 29 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
33 | { | 31 | { |
diff --git a/OpenSim/Region/Framework/Interfaces/IPresenceModule.cs b/OpenSim/Region/Framework/Interfaces/IPresenceModule.cs index 011f8bb..85bc4da 100644 --- a/OpenSim/Region/Framework/Interfaces/IPresenceModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IPresenceModule.cs | |||
@@ -25,8 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenSim.Framework; | ||
30 | using OpenMetaverse; | 28 | using OpenMetaverse; |
31 | 29 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/IRegionSerialiserModule.cs b/OpenSim/Region/Framework/Interfaces/IRegionSerialiserModule.cs index 40e4c99..02174f8 100644 --- a/OpenSim/Region/Framework/Interfaces/IRegionSerialiserModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IRegionSerialiserModule.cs | |||
@@ -25,9 +25,9 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenMetaverse; | ||
29 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using System.IO; | 29 | using System.IO; |
30 | using OpenMetaverse; | ||
31 | using OpenSim.Region.Framework.Scenes; | 31 | using OpenSim.Region.Framework.Scenes; |
32 | 32 | ||
33 | namespace OpenSim.Region.Framework.Interfaces | 33 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/ISceneObject.cs b/OpenSim/Region/Framework/Interfaces/ISceneObject.cs index 79a43d6..c713cc3 100644 --- a/OpenSim/Region/Framework/Interfaces/ISceneObject.cs +++ b/OpenSim/Region/Framework/Interfaces/ISceneObject.cs | |||
@@ -1,4 +1,3 @@ | |||
1 | using System; | ||
2 | using OpenMetaverse; | 1 | using OpenMetaverse; |
3 | 2 | ||
4 | namespace OpenSim.Region.Framework.Interfaces | 3 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs index 65620d3..6ba0068 100644 --- a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs | |||
@@ -25,8 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenSim.Framework; | ||
30 | using OpenMetaverse; | 28 | using OpenMetaverse; |
31 | 29 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/ISoundModule.cs b/OpenSim/Region/Framework/Interfaces/ISoundModule.cs index 91c80e3..078139d 100644 --- a/OpenSim/Region/Framework/Interfaces/ISoundModule.cs +++ b/OpenSim/Region/Framework/Interfaces/ISoundModule.cs | |||
@@ -26,7 +26,6 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using Nini.Config; | ||
30 | using OpenMetaverse; | 29 | using OpenMetaverse; |
31 | 30 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 31 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/IWindModule.cs b/OpenSim/Region/Framework/Interfaces/IWindModule.cs index 96b303f..5b8b0ce 100644 --- a/OpenSim/Region/Framework/Interfaces/IWindModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IWindModule.cs | |||
@@ -25,8 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenSim.Framework; | ||
30 | using OpenMetaverse; | 28 | using OpenMetaverse; |
31 | 29 | ||
32 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
diff --git a/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs b/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs index cdd2b7c..d6f9819 100644 --- a/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs +++ b/OpenSim/Region/Framework/Interfaces/IXMLRPC.cs | |||
@@ -26,7 +26,6 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using OpenMetaverse; | 28 | using OpenMetaverse; |
29 | using Nwc.XmlRpc; | ||
30 | 29 | ||
31 | namespace OpenSim.Region.Framework.Interfaces | 30 | namespace OpenSim.Region.Framework.Interfaces |
32 | { | 31 | { |
diff --git a/OpenSim/Region/Framework/Scenes/Animation.cs b/OpenSim/Region/Framework/Scenes/Animation.cs index 3504717..cb0afa7 100644 --- a/OpenSim/Region/Framework/Scenes/Animation.cs +++ b/OpenSim/Region/Framework/Scenes/Animation.cs | |||
@@ -25,7 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using OpenMetaverse; | 28 | using OpenMetaverse; |
30 | 29 | ||
31 | namespace OpenSim.Region.Framework.Scenes | 30 | namespace OpenSim.Region.Framework.Scenes |
diff --git a/OpenSim/Region/Framework/Scenes/AnimationSet.cs b/OpenSim/Region/Framework/Scenes/AnimationSet.cs index f53bb78..49bcda8 100644 --- a/OpenSim/Region/Framework/Scenes/AnimationSet.cs +++ b/OpenSim/Region/Framework/Scenes/AnimationSet.cs | |||
@@ -25,7 +25,6 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | ||
29 | using System.Collections.Generic; | 28 | using System.Collections.Generic; |
30 | using OpenMetaverse; | 29 | using OpenMetaverse; |
31 | 30 | ||
diff --git a/OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs b/OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs index 178f1f7..7f2ac63 100644 --- a/OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs +++ b/OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs | |||
@@ -31,7 +31,6 @@ using System.Reflection; | |||
31 | using System.Timers; | 31 | using System.Timers; |
32 | using log4net; | 32 | using log4net; |
33 | using OpenMetaverse; | 33 | using OpenMetaverse; |
34 | using OpenMetaverse.Packets; | ||
35 | using OpenSim.Framework; | 34 | using OpenSim.Framework; |
36 | 35 | ||
37 | namespace OpenSim.Region.Framework.Scenes | 36 | namespace OpenSim.Region.Framework.Scenes |
diff --git a/OpenSim/Region/Framework/Scenes/EntityManager.cs b/OpenSim/Region/Framework/Scenes/EntityManager.cs index a322766..504b90a 100644 --- a/OpenSim/Region/Framework/Scenes/EntityManager.cs +++ b/OpenSim/Region/Framework/Scenes/EntityManager.cs | |||
@@ -32,7 +32,6 @@ using System.Reflection; | |||
32 | using log4net; | 32 | using log4net; |
33 | using OpenMetaverse; | 33 | using OpenMetaverse; |
34 | 34 | ||
35 | |||
36 | namespace OpenSim.Region.Framework.Scenes | 35 | namespace OpenSim.Region.Framework.Scenes |
37 | { | 36 | { |
38 | public class EntityManager : IEnumerable<EntityBase> | 37 | public class EntityManager : IEnumerable<EntityBase> |
diff --git a/OpenSim/Region/Framework/Scenes/EventManager.cs b/OpenSim/Region/Framework/Scenes/EventManager.cs index 23e1278..9d47f87 100644 --- a/OpenSim/Region/Framework/Scenes/EventManager.cs +++ b/OpenSim/Region/Framework/Scenes/EventManager.cs | |||
@@ -26,13 +26,12 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | ||
29 | using OpenMetaverse; | 30 | using OpenMetaverse; |
30 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
31 | using OpenSim.Framework.Client; | 32 | using OpenSim.Framework.Client; |
32 | using OpenSim.Region.Framework.Interfaces; | 33 | using OpenSim.Region.Framework.Interfaces; |
33 | using OpenSim.Region.Framework.Scenes; | 34 | using Caps=OpenSim.Framework.Communications.Capabilities.Caps; |
34 | using Caps = OpenSim.Framework.Communications.Capabilities.Caps; | ||
35 | using System.Collections.Generic; | ||
36 | 35 | ||
37 | namespace OpenSim.Region.Framework.Scenes | 36 | namespace OpenSim.Region.Framework.Scenes |
38 | { | 37 | { |
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs index cc82a48..4039288 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGAssetMapper.cs | |||
@@ -27,20 +27,13 @@ | |||
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | 29 | using System; |
30 | using System.Collections; | ||
31 | using System.Collections.Generic; | 30 | using System.Collections.Generic; |
32 | using System.Reflection; | 31 | using System.Reflection; |
33 | using System.Threading; | 32 | using System.Threading; |
34 | |||
35 | using log4net; | 33 | using log4net; |
36 | using Nini.Config; | ||
37 | using OpenMetaverse; | 34 | using OpenMetaverse; |
38 | |||
39 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
40 | using OpenSim.Framework.Communications; | ||
41 | using OpenSim.Framework.Communications.Cache; | 36 | using OpenSim.Framework.Communications.Cache; |
42 | using OpenSim.Framework.Servers; | ||
43 | using OpenSim.Region.Framework.Scenes; | ||
44 | 37 | ||
45 | //using HyperGrid.Framework; | 38 | //using HyperGrid.Framework; |
46 | //using OpenSim.Region.Communications.Hypergrid; | 39 | //using OpenSim.Region.Communications.Hypergrid; |
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs index 7249029..ad98273 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGHyperlink.cs | |||
@@ -26,13 +26,11 @@ | |||
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Reflection; | ||
30 | using System.Net; | 29 | using System.Net; |
31 | using OpenSim.Framework; | 30 | using System.Reflection; |
32 | using OpenSim.Framework.Communications; | ||
33 | using OpenMetaverse; | ||
34 | using log4net; | 31 | using log4net; |
35 | using Nini.Config; | 32 | using OpenMetaverse; |
33 | using OpenSim.Framework; | ||
36 | 34 | ||
37 | namespace OpenSim.Region.Framework.Scenes.Hypergrid | 35 | namespace OpenSim.Region.Framework.Scenes.Hypergrid |
38 | { | 36 | { |
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGScene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGScene.Inventory.cs index c6d2bfc..ea03cf9 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGScene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGScene.Inventory.cs | |||
@@ -26,21 +26,13 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | ||
30 | using System.Collections; | ||
31 | using System.Collections.Generic; | ||
32 | using System.Reflection; | 29 | using System.Reflection; |
33 | using System.Threading; | ||
34 | |||
35 | using log4net; | 30 | using log4net; |
36 | using Nini.Config; | 31 | using Nini.Config; |
37 | using OpenMetaverse; | 32 | using OpenMetaverse; |
38 | |||
39 | using OpenSim.Framework; | 33 | using OpenSim.Framework; |
40 | using OpenSim.Framework.Communications; | 34 | using OpenSim.Framework.Communications; |
41 | using OpenSim.Framework.Communications.Cache; | 35 | using OpenSim.Framework.Communications.Cache; |
42 | using OpenSim.Framework.Servers; | ||
43 | using OpenSim.Region.Framework.Scenes; | ||
44 | 36 | ||
45 | namespace OpenSim.Region.Framework.Scenes.Hypergrid | 37 | namespace OpenSim.Region.Framework.Scenes.Hypergrid |
46 | { | 38 | { |
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGScene.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGScene.cs index 1cb98db..558dfb4 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGScene.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGScene.cs | |||
@@ -26,15 +26,9 @@ | |||
26 | * | 26 | * |
27 | */ | 27 | */ |
28 | 28 | ||
29 | using System; | ||
30 | using System.Collections.Generic; | ||
31 | |||
32 | using OpenMetaverse; | 29 | using OpenMetaverse; |
33 | |||
34 | using OpenSim.Framework; | 30 | using OpenSim.Framework; |
35 | |||
36 | using OpenSim.Framework.Communications.Cache; | 31 | using OpenSim.Framework.Communications.Cache; |
37 | using OpenSim.Region.Framework.Scenes; | ||
38 | using TPFlags = OpenSim.Framework.Constants.TeleportFlags; | 32 | using TPFlags = OpenSim.Framework.Constants.TeleportFlags; |
39 | 33 | ||
40 | namespace OpenSim.Region.Framework.Scenes.Hypergrid | 34 | namespace OpenSim.Region.Framework.Scenes.Hypergrid |
diff --git a/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs index a17df71..f75ea8e 100644 --- a/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/Hypergrid/HGSceneCommunicationService.cs | |||
@@ -33,12 +33,10 @@ using System.Reflection; | |||
33 | using System.Threading; | 33 | using System.Threading; |
34 | using log4net; | 34 | using log4net; |
35 | using OpenMetaverse; | 35 | using OpenMetaverse; |
36 | using OSD = OpenMetaverse.StructuredData.OSD; | ||
37 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
38 | using OpenSim.Framework.Communications; | 37 | using OpenSim.Framework.Communications; |
39 | using OpenSim.Framework.Communications.Cache; | 38 | using OpenSim.Framework.Communications.Cache; |
40 | using OpenSim.Framework.Communications.Capabilities; | 39 | using OpenSim.Framework.Communications.Capabilities; |
41 | using OpenSim.Region.Framework.Scenes; | ||
42 | using OpenSim.Region.Framework.Interfaces; | 40 | using OpenSim.Region.Framework.Interfaces; |
43 | 41 | ||
44 | namespace OpenSim.Region.Framework.Scenes.Hypergrid | 42 | namespace OpenSim.Region.Framework.Scenes.Hypergrid |
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 848b497..e2eb89e 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -30,26 +30,22 @@ using System.Collections.Generic; | |||
30 | using System.Drawing; | 30 | using System.Drawing; |
31 | using System.Drawing.Imaging; | 31 | using System.Drawing.Imaging; |
32 | using System.IO; | 32 | using System.IO; |
33 | using System.Xml; | 33 | using System.Text; |
34 | using System.Threading; | 34 | using System.Threading; |
35 | using System.Timers; | 35 | using System.Timers; |
36 | using System.Xml; | ||
37 | using Nini.Config; | ||
36 | using OpenMetaverse; | 38 | using OpenMetaverse; |
37 | using OpenMetaverse.Imaging; | 39 | using OpenMetaverse.Imaging; |
38 | using OpenMetaverse.Packets; | ||
39 | using OpenSim.Framework; | 40 | using OpenSim.Framework; |
40 | using OpenSim.Framework.Console; | ||
41 | using OpenSim.Framework.Communications; | 41 | using OpenSim.Framework.Communications; |
42 | using OpenSim.Framework.Communications.Cache; | 42 | using OpenSim.Framework.Communications.Cache; |
43 | using OpenSim.Framework.Servers; | 43 | using OpenSim.Framework.Console; |
44 | using OpenSim.Region.Framework.Interfaces; | 44 | using OpenSim.Region.Framework.Interfaces; |
45 | using OpenSim.Region.Framework.Scenes.Scripting; | 45 | using OpenSim.Region.Framework.Scenes.Scripting; |
46 | using OpenSim.Region.Physics.Manager; | 46 | using OpenSim.Region.Physics.Manager; |
47 | using Nini.Config; | 47 | using Timer=System.Timers.Timer; |
48 | using Caps = OpenSim.Framework.Communications.Capabilities.Caps; | ||
49 | using Image = System.Drawing.Image; | ||
50 | using TPFlags = OpenSim.Framework.Constants.TeleportFlags; | 48 | using TPFlags = OpenSim.Framework.Constants.TeleportFlags; |
51 | using Timer = System.Timers.Timer; | ||
52 | using OSD = OpenMetaverse.StructuredData.OSD; | ||
53 | 49 | ||
54 | namespace OpenSim.Region.Framework.Scenes | 50 | namespace OpenSim.Region.Framework.Scenes |
55 | { | 51 | { |
@@ -776,7 +772,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
776 | int maintc = 0; | 772 | int maintc = 0; |
777 | while (!shuttingdown) | 773 | while (!shuttingdown) |
778 | { | 774 | { |
779 | maintc = System.Environment.TickCount; | 775 | maintc = Environment.TickCount; |
780 | 776 | ||
781 | TimeSpan SinceLastFrame = DateTime.Now - m_lastupdate; | 777 | TimeSpan SinceLastFrame = DateTime.Now - m_lastupdate; |
782 | // Aquire a lock so only one update call happens at once | 778 | // Aquire a lock so only one update call happens at once |
@@ -802,7 +798,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
802 | } | 798 | } |
803 | } | 799 | } |
804 | 800 | ||
805 | frameMS = System.Environment.TickCount; | 801 | frameMS = Environment.TickCount; |
806 | try | 802 | try |
807 | { | 803 | { |
808 | // Increment the frame counter | 804 | // Increment the frame counter |
@@ -812,15 +808,15 @@ namespace OpenSim.Region.Framework.Scenes | |||
812 | if (m_frame == Int32.MaxValue) | 808 | if (m_frame == Int32.MaxValue) |
813 | m_frame = 0; | 809 | m_frame = 0; |
814 | 810 | ||
815 | physicsMS2 = System.Environment.TickCount; | 811 | physicsMS2 = Environment.TickCount; |
816 | if ((m_frame % m_update_physics == 0) && m_physics_enabled) | 812 | if ((m_frame % m_update_physics == 0) && m_physics_enabled) |
817 | m_sceneGraph.UpdatePreparePhysics(); | 813 | m_sceneGraph.UpdatePreparePhysics(); |
818 | physicsMS2 = System.Environment.TickCount - physicsMS2; | 814 | physicsMS2 = Environment.TickCount - physicsMS2; |
819 | 815 | ||
820 | if (m_frame % m_update_entitymovement == 0) | 816 | if (m_frame % m_update_entitymovement == 0) |
821 | m_sceneGraph.UpdateEntityMovement(); | 817 | m_sceneGraph.UpdateEntityMovement(); |
822 | 818 | ||
823 | physicsMS = System.Environment.TickCount; | 819 | physicsMS = Environment.TickCount; |
824 | if ((m_frame % m_update_physics == 0) && m_physics_enabled) | 820 | if ((m_frame % m_update_physics == 0) && m_physics_enabled) |
825 | physicsFPS = m_sceneGraph.UpdatePhysics( | 821 | physicsFPS = m_sceneGraph.UpdatePhysics( |
826 | Math.Max(SinceLastFrame.TotalSeconds, m_timespan) | 822 | Math.Max(SinceLastFrame.TotalSeconds, m_timespan) |
@@ -828,10 +824,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
828 | if (m_frame % m_update_physics == 0 && SynchronizeScene != null) | 824 | if (m_frame % m_update_physics == 0 && SynchronizeScene != null) |
829 | SynchronizeScene(this); | 825 | SynchronizeScene(this); |
830 | 826 | ||
831 | physicsMS = System.Environment.TickCount - physicsMS; | 827 | physicsMS = Environment.TickCount - physicsMS; |
832 | physicsMS += physicsMS2; | 828 | physicsMS += physicsMS2; |
833 | 829 | ||
834 | otherMS = System.Environment.TickCount; | 830 | otherMS = Environment.TickCount; |
835 | // run through all entities looking for updates (slow) | 831 | // run through all entities looking for updates (slow) |
836 | if (m_frame % m_update_entities == 0) | 832 | if (m_frame % m_update_entities == 0) |
837 | m_sceneGraph.UpdateEntities(); | 833 | m_sceneGraph.UpdateEntities(); |
@@ -864,7 +860,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
864 | 860 | ||
865 | if (m_frame % m_update_land == 0) | 861 | if (m_frame % m_update_land == 0) |
866 | UpdateLand(); | 862 | UpdateLand(); |
867 | otherMS = System.Environment.TickCount - otherMS; | 863 | otherMS = Environment.TickCount - otherMS; |
868 | // if (m_frame%m_update_avatars == 0) | 864 | // if (m_frame%m_update_avatars == 0) |
869 | // UpdateInWorldTime(); | 865 | // UpdateInWorldTime(); |
870 | StatsReporter.AddPhysicsFPS(physicsFPS); | 866 | StatsReporter.AddPhysicsFPS(physicsFPS); |
@@ -875,7 +871,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
875 | StatsReporter.SetChildAgents(m_sceneGraph.GetChildAgentCount()); | 871 | StatsReporter.SetChildAgents(m_sceneGraph.GetChildAgentCount()); |
876 | StatsReporter.SetObjects(m_sceneGraph.GetTotalObjectsCount()); | 872 | StatsReporter.SetObjects(m_sceneGraph.GetTotalObjectsCount()); |
877 | StatsReporter.SetActiveObjects(m_sceneGraph.GetActiveObjectsCount()); | 873 | StatsReporter.SetActiveObjects(m_sceneGraph.GetActiveObjectsCount()); |
878 | frameMS = System.Environment.TickCount - frameMS; | 874 | frameMS = Environment.TickCount - frameMS; |
879 | StatsReporter.addFrameMS(frameMS); | 875 | StatsReporter.addFrameMS(frameMS); |
880 | StatsReporter.addPhysicsMS(physicsMS); | 876 | StatsReporter.addPhysicsMS(physicsMS); |
881 | StatsReporter.addOtherMS(otherMS); | 877 | StatsReporter.addOtherMS(otherMS); |
@@ -919,7 +915,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
919 | 915 | ||
920 | m_lastupdate = DateTime.Now; | 916 | m_lastupdate = DateTime.Now; |
921 | } | 917 | } |
922 | maintc = System.Environment.TickCount - maintc; | 918 | maintc = Environment.TickCount - maintc; |
923 | maintc = (int)(m_timespan * 1000) - maintc; | 919 | maintc = (int)(m_timespan * 1000) - maintc; |
924 | 920 | ||
925 | if ((maintc < (m_timespan * 1000)) && maintc > 0) | 921 | if ((maintc < (m_timespan * 1000)) && maintc > 0) |
@@ -1184,7 +1180,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1184 | { | 1180 | { |
1185 | #region Fallback default maptile generation | 1181 | #region Fallback default maptile generation |
1186 | 1182 | ||
1187 | int tc = System.Environment.TickCount; | 1183 | int tc = Environment.TickCount; |
1188 | m_log.Info("[MAPTILE]: Generating Maptile Step 1: Terrain"); | 1184 | m_log.Info("[MAPTILE]: Generating Maptile Step 1: Terrain"); |
1189 | Bitmap mapbmp = new Bitmap(256, 256); | 1185 | Bitmap mapbmp = new Bitmap(256, 256); |
1190 | double[,] hm = Heightmap.GetDoubles(); | 1186 | double[,] hm = Heightmap.GetDoubles(); |
@@ -1301,7 +1297,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1301 | hfdiffi = hfdiffi + Math.Abs((int)(((hfdiff % 1) * 0.5f) * 10f) - 1); | 1297 | hfdiffi = hfdiffi + Math.Abs((int)(((hfdiff % 1) * 0.5f) * 10f) - 1); |
1302 | } | 1298 | } |
1303 | } | 1299 | } |
1304 | catch (System.OverflowException) | 1300 | catch (OverflowException) |
1305 | { | 1301 | { |
1306 | m_log.Debug("[MAPTILE]: Shadow failed at value: " + hfdiff.ToString()); | 1302 | m_log.Debug("[MAPTILE]: Shadow failed at value: " + hfdiff.ToString()); |
1307 | ShadowDebugContinue = false; | 1303 | ShadowDebugContinue = false; |
@@ -1325,7 +1321,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1325 | } | 1321 | } |
1326 | } | 1322 | } |
1327 | } | 1323 | } |
1328 | catch (System.ArgumentException) | 1324 | catch (ArgumentException) |
1329 | { | 1325 | { |
1330 | if (!terraincorruptedwarningsaid) | 1326 | if (!terraincorruptedwarningsaid) |
1331 | { | 1327 | { |
@@ -1361,7 +1357,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1361 | Color water = Color.FromArgb((int)heightvalue, (int)heightvalue, 255); | 1357 | Color water = Color.FromArgb((int)heightvalue, (int)heightvalue, 255); |
1362 | mapbmp.SetPixel(x, (256 - y) - 1, water); | 1358 | mapbmp.SetPixel(x, (256 - y) - 1, water); |
1363 | } | 1359 | } |
1364 | catch (System.ArgumentException) | 1360 | catch (ArgumentException) |
1365 | { | 1361 | { |
1366 | if (!terraincorruptedwarningsaid) | 1362 | if (!terraincorruptedwarningsaid) |
1367 | { | 1363 | { |
@@ -1379,7 +1375,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1379 | //m_log.Info("[MAPTILE]: Completed One row in " + tc + " ms"); | 1375 | //m_log.Info("[MAPTILE]: Completed One row in " + tc + " ms"); |
1380 | } | 1376 | } |
1381 | 1377 | ||
1382 | m_log.Info("[MAPTILE]: Generating Maptile Step 1: Done in " + (System.Environment.TickCount - tc) + " ms"); | 1378 | m_log.Info("[MAPTILE]: Generating Maptile Step 1: Done in " + (Environment.TickCount - tc) + " ms"); |
1383 | 1379 | ||
1384 | bool drawPrimVolume = true; | 1380 | bool drawPrimVolume = true; |
1385 | 1381 | ||
@@ -1395,7 +1391,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1395 | 1391 | ||
1396 | if (drawPrimVolume) | 1392 | if (drawPrimVolume) |
1397 | { | 1393 | { |
1398 | tc = System.Environment.TickCount; | 1394 | tc = Environment.TickCount; |
1399 | m_log.Info("[MAPTILE]: Generating Maptile Step 2: Object Volume Profile"); | 1395 | m_log.Info("[MAPTILE]: Generating Maptile Step 2: Object Volume Profile"); |
1400 | List<EntityBase> objs = GetEntities(); | 1396 | List<EntityBase> objs = GetEntities(); |
1401 | 1397 | ||
@@ -1547,7 +1543,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1547 | } // foreach loop over entities | 1543 | } // foreach loop over entities |
1548 | } // lock entities objs | 1544 | } // lock entities objs |
1549 | 1545 | ||
1550 | m_log.Info("[MAPTILE]: Generating Maptile Step 2: Done in " + (System.Environment.TickCount - tc) + " ms"); | 1546 | m_log.Info("[MAPTILE]: Generating Maptile Step 2: Done in " + (Environment.TickCount - tc) + " ms"); |
1551 | } // end if drawPrimOnMaptle | 1547 | } // end if drawPrimOnMaptle |
1552 | 1548 | ||
1553 | byte[] data; | 1549 | byte[] data; |
@@ -2146,7 +2142,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2146 | string spath = Path.Combine("ScriptEngines", RegionInfo.RegionID.ToString()); | 2142 | string spath = Path.Combine("ScriptEngines", RegionInfo.RegionID.ToString()); |
2147 | spath = Path.Combine(spath, uuid.ToString()); | 2143 | spath = Path.Combine(spath, uuid.ToString()); |
2148 | FileStream sfs = File.Create(spath + ".state"); | 2144 | FileStream sfs = File.Create(spath + ".state"); |
2149 | System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding(); | 2145 | ASCIIEncoding enc = new ASCIIEncoding(); |
2150 | Byte[] buf = enc.GetBytes(sdoc.InnerXml); | 2146 | Byte[] buf = enc.GetBytes(sdoc.InnerXml); |
2151 | sfs.Write(buf, 0, buf.Length); | 2147 | sfs.Write(buf, 0, buf.Length); |
2152 | sfs.Close(); | 2148 | sfs.Close(); |
@@ -2350,7 +2346,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2350 | CreateAndAddScenePresence(client); | 2346 | CreateAndAddScenePresence(client); |
2351 | } | 2347 | } |
2352 | 2348 | ||
2353 | m_LastLogin = System.Environment.TickCount; | 2349 | m_LastLogin = Environment.TickCount; |
2354 | EventManager.TriggerOnNewClient(client); | 2350 | EventManager.TriggerOnNewClient(client); |
2355 | } | 2351 | } |
2356 | 2352 | ||
@@ -2891,7 +2887,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2891 | m_sceneGridService.SendCloseChildAgentConnections(loggingOffUser.UUID, new List<ulong>(loggingOffUser.KnownRegions.Keys)); | 2887 | m_sceneGridService.SendCloseChildAgentConnections(loggingOffUser.UUID, new List<ulong>(loggingOffUser.KnownRegions.Keys)); |
2892 | loggingOffUser.ControllingClient.Kick(message); | 2888 | loggingOffUser.ControllingClient.Kick(message); |
2893 | // Give them a second to receive the message! | 2889 | // Give them a second to receive the message! |
2894 | System.Threading.Thread.Sleep(1000); | 2890 | Thread.Sleep(1000); |
2895 | loggingOffUser.ControllingClient.Close(true); | 2891 | loggingOffUser.ControllingClient.Close(true); |
2896 | } | 2892 | } |
2897 | else | 2893 | else |
@@ -4157,7 +4153,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4157 | 4153 | ||
4158 | // A login in the last 4 mins? We can't be doing too badly | 4154 | // A login in the last 4 mins? We can't be doing too badly |
4159 | // | 4155 | // |
4160 | if ((System.Environment.TickCount - m_LastLogin) < 240000) | 4156 | if ((Environment.TickCount - m_LastLogin) < 240000) |
4161 | health++; | 4157 | health++; |
4162 | 4158 | ||
4163 | return 0; | 4159 | return 0; |