aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionInfo.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/RegionInfo.cs')
-rw-r--r--OpenSim/Framework/RegionInfo.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index da87b05..fc64ff9 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -706,27 +706,27 @@ namespace OpenSim.Framework
706 706
707 config.Set("ExternalHostName", m_externalHostName); 707 config.Set("ExternalHostName", m_externalHostName);
708 708
709 if (m_nonphysPrimMin != 0) 709 if (m_nonphysPrimMin > 0)
710 config.Set("NonphysicalPrimMax", m_nonphysPrimMin); 710 config.Set("NonphysicalPrimMax", m_nonphysPrimMin);
711 711
712 if (m_nonphysPrimMax != 0) 712 if (m_nonphysPrimMax > 0)
713 config.Set("NonphysicalPrimMax", m_nonphysPrimMax); 713 config.Set("NonphysicalPrimMax", m_nonphysPrimMax);
714 714
715 if (m_physPrimMin != 0) 715 if (m_physPrimMin > 0)
716 config.Set("PhysicalPrimMax", m_physPrimMin); 716 config.Set("PhysicalPrimMax", m_physPrimMin);
717 717
718 if (m_physPrimMax != 0) 718 if (m_physPrimMax > 0)
719 config.Set("PhysicalPrimMax", m_physPrimMax); 719 config.Set("PhysicalPrimMax", m_physPrimMax);
720 720
721 config.Set("ClampPrimSize", m_clampPrimSize.ToString()); 721 config.Set("ClampPrimSize", m_clampPrimSize.ToString());
722 722
723 if (m_objectCapacity != 0) 723 if (m_objectCapacity > 0)
724 config.Set("MaxPrims", m_objectCapacity); 724 config.Set("MaxPrims", m_objectCapacity);
725 725
726 if (m_linksetCapacity != 0) 726 if (m_linksetCapacity > 0)
727 config.Set("LinksetPrims", m_linksetCapacity); 727 config.Set("LinksetPrims", m_linksetCapacity);
728 728
729 if (m_agentCapacity != 0) 729 if (m_agentCapacity > 0)
730 config.Set("MaxAgents", m_agentCapacity); 730 config.Set("MaxAgents", m_agentCapacity);
731 731
732 if (ScopeID != UUID.Zero) 732 if (ScopeID != UUID.Zero)