diff options
author | Melanie | 2012-02-05 20:58:04 +0000 |
---|---|---|
committer | Melanie | 2012-02-05 20:58:04 +0000 |
commit | 54fc78013d1eb946551656849e7007427ef4aec3 (patch) | |
tree | fae81b9031f5ae0fb07d0f3e61eb83946bbc26b1 | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Revert my two quick fixes for the lag issue and put in the real fix, which (diff) | |
download | opensim-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
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs | 4 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 | ||||
-rwxr-xr-x | bin/OpenSim.ini.example | 2 | ||||
-rw-r--r-- | bin/OpenSimDefaults.ini | 2 |
7 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index b88895f..c531e8a 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -609,9 +609,9 @@ namespace OpenSim.Framework | |||
609 | 609 | ||
610 | // Prim stuff | 610 | // Prim stuff |
611 | // | 611 | // |
612 | m_nonphysPrimMax = config.GetInt("NonphysicalPrimMax", 256); | 612 | m_nonphysPrimMax = config.GetInt("NonphysicalPrimMax", 0); |
613 | allKeys.Remove("NonphysicalPrimMax"); | 613 | allKeys.Remove("NonphysicalPrimMax"); |
614 | m_physPrimMax = config.GetInt("PhysicalPrimMax", 10); | 614 | m_physPrimMax = config.GetInt("PhysicalPrimMax", 0); |
615 | allKeys.Remove("PhysicalPrimMax"); | 615 | allKeys.Remove("PhysicalPrimMax"); |
616 | m_clampPrimSize = config.GetBoolean("ClampPrimSize", false); | 616 | m_clampPrimSize = config.GetBoolean("ClampPrimSize", false); |
617 | allKeys.Remove("ClampPrimSize"); | 617 | allKeys.Remove("ClampPrimSize"); |
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; |
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index f9b405d..d45f72b 100755 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example | |||
@@ -87,7 +87,7 @@ | |||
87 | 87 | ||
88 | ;# {NonPhysicalPrimMax} {} {Maximum size of nonphysical prims?} {} 256 | 88 | ;# {NonPhysicalPrimMax} {} {Maximum size of nonphysical prims?} {} 256 |
89 | ;; Maximum size for non-physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonphysicalPrimMax!). | 89 | ;; Maximum size for non-physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonphysicalPrimMax!). |
90 | ; NonPhysicalPrimMax = 256 | 90 | ; NonphysicalPrimMax = 256 |
91 | 91 | ||
92 | ;# {PhysicalPrimMax} {} {Maximum size of physical prims?} {} 10 | 92 | ;# {PhysicalPrimMax} {} {Maximum size of physical prims?} {} 10 |
93 | ;; Maximum size where a prim can be physical. Affects resizing of existing prims. This can be overriden in the region config file. | 93 | ;; Maximum size where a prim can be physical. Affects resizing of existing prims. This can be overriden in the region config file. |
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 3b39f7f..6e6e4eb 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini | |||
@@ -82,7 +82,7 @@ | |||
82 | allow_regionless = false | 82 | allow_regionless = false |
83 | 83 | ||
84 | ; Maximum size of non physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonphysicalPrimMax!). | 84 | ; Maximum size of non physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonphysicalPrimMax!). |
85 | NonPhysicalPrimMax = 256 | 85 | NonphysicalPrimMax = 256 |
86 | 86 | ||
87 | ; Maximum size of physical prims. Affects resizing of existing prims. This can be overriden in the region config file. | 87 | ; Maximum size of physical prims. Affects resizing of existing prims. This can be overriden in the region config file. |
88 | PhysicalPrimMax = 10 | 88 | PhysicalPrimMax = 10 |