diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index ded2df2..928e798 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -701,27 +701,27 @@ namespace OpenSim.Framework | |||
701 | 701 | ||
702 | config.Set("ExternalHostName", m_externalHostName); | 702 | config.Set("ExternalHostName", m_externalHostName); |
703 | 703 | ||
704 | if (m_nonphysPrimMin != 0) | 704 | if (m_nonphysPrimMin > 0) |
705 | config.Set("NonphysicalPrimMax", m_nonphysPrimMin); | 705 | config.Set("NonphysicalPrimMax", m_nonphysPrimMin); |
706 | 706 | ||
707 | if (m_nonphysPrimMax != 0) | 707 | if (m_nonphysPrimMax > 0) |
708 | config.Set("NonphysicalPrimMax", m_nonphysPrimMax); | 708 | config.Set("NonphysicalPrimMax", m_nonphysPrimMax); |
709 | 709 | ||
710 | if (m_physPrimMin != 0) | 710 | if (m_physPrimMin > 0) |
711 | config.Set("PhysicalPrimMax", m_physPrimMin); | 711 | config.Set("PhysicalPrimMax", m_physPrimMin); |
712 | 712 | ||
713 | if (m_physPrimMax != 0) | 713 | if (m_physPrimMax > 0) |
714 | config.Set("PhysicalPrimMax", m_physPrimMax); | 714 | config.Set("PhysicalPrimMax", m_physPrimMax); |
715 | 715 | ||
716 | config.Set("ClampPrimSize", m_clampPrimSize.ToString()); | 716 | config.Set("ClampPrimSize", m_clampPrimSize.ToString()); |
717 | 717 | ||
718 | if (m_objectCapacity != 0) | 718 | if (m_objectCapacity > 0) |
719 | config.Set("MaxPrims", m_objectCapacity); | 719 | config.Set("MaxPrims", m_objectCapacity); |
720 | 720 | ||
721 | if (m_linksetCapacity != 0) | 721 | if (m_linksetCapacity > 0) |
722 | config.Set("LinksetPrims", m_linksetCapacity); | 722 | config.Set("LinksetPrims", m_linksetCapacity); |
723 | 723 | ||
724 | if (m_agentCapacity != 0) | 724 | if (m_agentCapacity > 0) |
725 | config.Set("MaxAgents", m_agentCapacity); | 725 | config.Set("MaxAgents", m_agentCapacity); |
726 | 726 | ||
727 | if (ScopeID != UUID.Zero) | 727 | if (ScopeID != UUID.Zero) |