aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorMelanie2012-02-05 20:58:04 +0000
committerMelanie2012-02-05 20:58:04 +0000
commit54fc78013d1eb946551656849e7007427ef4aec3 (patch)
treefae81b9031f5ae0fb07d0f3e61eb83946bbc26b1 /OpenSim/Region
parentMerge branch 'master' into careminster (diff)
parentRevert my two quick fixes for the lag issue and put in the real fix, which (diff)
downloadopensim-SC_OLD-54fc78013d1eb946551656849e7007427ef4aec3.zip
opensim-SC_OLD-54fc78013d1eb946551656849e7007427ef4aec3.tar.gz
opensim-SC_OLD-54fc78013d1eb946551656849e7007427ef4aec3.tar.bz2
opensim-SC_OLD-54fc78013d1eb946551656849e7007427ef4aec3.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs3
-rw-r--r--OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs4
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs6
4 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index debf6d2..91aa228 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -1192,7 +1192,8 @@ namespace OpenSim.Region.CoreModules.World.Land
1192 foreach (LandAccessEntry entry in delete) 1192 foreach (LandAccessEntry entry in delete)
1193 LandData.ParcelAccessList.Remove(entry); 1193 LandData.ParcelAccessList.Remove(entry);
1194 1194
1195 m_scene.EventManager.TriggerLandObjectUpdated((uint)LandData.LocalID, this); 1195 if (delete.Count > 0)
1196 m_scene.EventManager.TriggerLandObjectUpdated((uint)LandData.LocalID, this);
1196 } 1197 }
1197 } 1198 }
1198} 1199}
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
index a4210b2..4ebfb21 100644
--- a/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
+++ b/OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs
@@ -288,7 +288,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
288 /// <returns></returns> 288 /// <returns></returns>
289 public LLSDMapLayerResponse GetMapLayer(LLSDMapRequest mapReq) 289 public LLSDMapLayerResponse GetMapLayer(LLSDMapRequest mapReq)
290 { 290 {
291 m_log.DebugFormat("[WORLD MAP]: MapLayer Request in region: {0}", m_scene.RegionInfo.RegionName); 291 // m_log.DebugFormat("[WORLD MAP]: MapLayer Request in region: {0}", m_scene.RegionInfo.RegionName);
292 LLSDMapLayerResponse mapResponse = new LLSDMapLayerResponse(); 292 LLSDMapLayerResponse mapResponse = new LLSDMapLayerResponse();
293 mapResponse.LayerData.Array.Add(GetOSDMapLayerResponse()); 293 mapResponse.LayerData.Array.Add(GetOSDMapLayerResponse());
294 return mapResponse; 294 return mapResponse;
@@ -373,7 +373,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap
373 public virtual void HandleMapItemRequest(IClientAPI remoteClient, uint flags, 373 public virtual void HandleMapItemRequest(IClientAPI remoteClient, uint flags,
374 uint EstateID, bool godlike, uint itemtype, ulong regionhandle) 374 uint EstateID, bool godlike, uint itemtype, ulong regionhandle)
375 { 375 {
376 m_log.DebugFormat("[WORLD MAP]: Handle MapItem request {0} {1}", regionhandle, itemtype); 376 // m_log.DebugFormat("[WORLD MAP]: Handle MapItem request {0} {1}", regionhandle, itemtype);
377 377
378 lock (m_rootAgents) 378 lock (m_rootAgents)
379 { 379 {
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 03ddbc5..ec5cf32 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -668,8 +668,7 @@ namespace OpenSim.Region.Framework.Scenes
668 PhysicalPrims = startupConfig.GetBoolean("physical_prim", true); 668 PhysicalPrims = startupConfig.GetBoolean("physical_prim", true);
669 CollidablePrims = startupConfig.GetBoolean("collidable_prim", true); 669 CollidablePrims = startupConfig.GetBoolean("collidable_prim", true);
670 670
671 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys); 671 m_maxNonphys = startupConfig.GetFloat("NonphysicalPrimMax", m_maxNonphys);
672
673 if (RegionInfo.NonphysPrimMax > 0) 672 if (RegionInfo.NonphysPrimMax > 0)
674 { 673 {
675 m_maxNonphys = RegionInfo.NonphysPrimMax; 674 m_maxNonphys = RegionInfo.NonphysPrimMax;
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 6485710..34e0ab7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -2838,9 +2838,9 @@ namespace OpenSim.Region.Framework.Scenes
2838 for (int i = 0; i < parts.Length; i++) 2838 for (int i = 0; i < parts.Length; i++)
2839 { 2839 {
2840 SceneObjectPart part = parts[i]; 2840 SceneObjectPart part = parts[i];
2841 if (part.Scale.X > m_scene.RegionInfo.PhysPrimMax || 2841 if (part.Scale.X > m_scene.m_maxPhys ||
2842 part.Scale.Y > m_scene.RegionInfo.PhysPrimMax || 2842 part.Scale.Y > m_scene.m_maxPhys ||
2843 part.Scale.Z > m_scene.RegionInfo.PhysPrimMax) 2843 part.Scale.Z > m_scene.m_maxPhys )
2844 { 2844 {
2845 UsePhysics = false; // Reset physics 2845 UsePhysics = false; // Reset physics
2846 break; 2846 break;