Make NonphysicalPrimMax setting work properly

RegionInfo setting will override only if it is > 0
iar_mods
BlueWall 2012-02-04 21:30:16 -05:00
parent 43b4e4cfc3
commit df07b97abd
1 changed files with 1 additions and 1 deletions

View File

@ -607,7 +607,7 @@ namespace OpenSim.Framework
// Prim stuff // Prim stuff
// //
m_nonphysPrimMax = config.GetInt("NonphysicalPrimMax", 256); m_nonphysPrimMax = config.GetInt("NonphysicalPrimMax", 0);
allKeys.Remove("NonphysicalPrimMax"); allKeys.Remove("NonphysicalPrimMax");
m_physPrimMax = config.GetInt("PhysicalPrimMax", 10); m_physPrimMax = config.GetInt("PhysicalPrimMax", 10);
allKeys.Remove("PhysicalPrimMax"); allKeys.Remove("PhysicalPrimMax");