aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ThirdParty/3Di
diff options
context:
space:
mode:
authorJeff Ames2008-05-14 05:11:23 +0000
committerJeff Ames2008-05-14 05:11:23 +0000
commitc995d60d37032db3198b8496e186aa7a892dc7a8 (patch)
tree826147e66f61c812897d9b0acdb16ebfeb30d4d3 /ThirdParty/3Di
parent* Added 3 warnings in response to the warnings. Adam, read the warnings. (diff)
downloadopensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.zip
opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.gz
opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.bz2
opensim-SC_OLD-c995d60d37032db3198b8496e186aa7a892dc7a8.tar.xz
Formatting cleanup.
Diffstat (limited to 'ThirdParty/3Di')
-rw-r--r--ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs6
-rw-r--r--ThirdParty/3Di/LoadBalancer/TcpServer.cs2
2 files changed, 4 insertions, 4 deletions
diff --git a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
index 3ef0ef7..2732751 100644
--- a/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
+++ b/ThirdParty/3Di/LoadBalancer/LoadBalancerPlugin.cs
@@ -147,7 +147,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
147 foreach (ScenePresence pre in presences) 147 foreach (ScenePresence pre in presences)
148 { 148 {
149 IClientAPI client = pre.ControllingClient; 149 IClientAPI client = pre.ControllingClient;
150 //if(pre.MovementFlag!=0 && client.PacketProcessingEnabled==true) { 150 //if (pre.MovementFlag!=0 && client.PacketProcessingEnabled==true) {
151 if (client.IsActive) 151 if (client.IsActive)
152 { 152 {
153 get_scene_presence_filter++; 153 get_scene_presence_filter++;
@@ -160,7 +160,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
160 foreach (ScenePresence pre in avatars) 160 foreach (ScenePresence pre in avatars)
161 { 161 {
162 IClientAPI client = pre.ControllingClient; 162 IClientAPI client = pre.ControllingClient;
163 //if(pre.MovementFlag!=0 && client.PacketProcessingEnabled==true) { 163 //if (pre.MovementFlag!=0 && client.PacketProcessingEnabled==true) {
164 if (client.IsActive) 164 if (client.IsActive)
165 { 165 {
166 get_avatar_filter++; 166 get_avatar_filter++;
@@ -884,7 +884,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
884 884
885 // Because data changes by the physics simulation when the client doesn't move, 885 // Because data changes by the physics simulation when the client doesn't move,
886 // if MovementFlag is false, It is necessary to synchronize. 886 // if MovementFlag is false, It is necessary to synchronize.
887 //if(pre.MovementFlag!=0 && client.PacketProcessingEnabled==true) 887 //if (pre.MovementFlag!=0 && client.PacketProcessingEnabled==true)
888 if (client.IsActive) 888 if (client.IsActive)
889 { 889 {
890 //m_log.Info("[SPLITSCENE] "+String.Format("Client moving in {0} {1}", scene.RegionInfo.RegionID, pre.AbsolutePosition)); 890 //m_log.Info("[SPLITSCENE] "+String.Format("Client moving in {0} {1}", scene.RegionInfo.RegionID, pre.AbsolutePosition));
diff --git a/ThirdParty/3Di/LoadBalancer/TcpServer.cs b/ThirdParty/3Di/LoadBalancer/TcpServer.cs
index 9722a1b..eb57b2d 100644
--- a/ThirdParty/3Di/LoadBalancer/TcpServer.cs
+++ b/ThirdParty/3Di/LoadBalancer/TcpServer.cs
@@ -150,7 +150,7 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
150 state.ms_ptr.Read(packet, 0, state.header.numbytes); 150 state.ms_ptr.Read(packet, 0, state.header.numbytes);
151 151
152/* 152/*
153 for(int i=0; i<state.header.numbytes; i++) { 153 for (int i=0; i<state.header.numbytes; i++) {
154 System.Console.Write(packet[i] + " "); 154 System.Console.Write(packet[i] + " ");
155 } 155 }
156 System.Console.WriteLine(); 156 System.Console.WriteLine();