diff options
author | BlueWall | 2012-02-04 21:30:16 -0500 |
---|---|---|
committer | BlueWall | 2012-02-04 21:30:16 -0500 |
commit | df07b97abd99ae2bac793c2423a283b9099932d1 (patch) | |
tree | ec88262e772b405aced57805eddb2c0653dd1f4b /OpenSim | |
parent | Quiet the map module logging (diff) | |
download | opensim-SC-df07b97abd99ae2bac793c2423a283b9099932d1.zip opensim-SC-df07b97abd99ae2bac793c2423a283b9099932d1.tar.gz opensim-SC-df07b97abd99ae2bac793c2423a283b9099932d1.tar.bz2 opensim-SC-df07b97abd99ae2bac793c2423a283b9099932d1.tar.xz |
Make NonphysicalPrimMax setting work properly
RegionInfo setting will override only if it is > 0
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index e2664dd..1072e04 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -607,7 +607,7 @@ namespace OpenSim.Framework | |||
607 | 607 | ||
608 | // Prim stuff | 608 | // Prim stuff |
609 | // | 609 | // |
610 | m_nonphysPrimMax = config.GetInt("NonphysicalPrimMax", 256); | 610 | m_nonphysPrimMax = config.GetInt("NonphysicalPrimMax", 0); |
611 | allKeys.Remove("NonphysicalPrimMax"); | 611 | allKeys.Remove("NonphysicalPrimMax"); |
612 | m_physPrimMax = config.GetInt("PhysicalPrimMax", 10); | 612 | m_physPrimMax = config.GetInt("PhysicalPrimMax", 10); |
613 | allKeys.Remove("PhysicalPrimMax"); | 613 | allKeys.Remove("PhysicalPrimMax"); |