diff options
author | Melanie | 2012-09-16 04:11:20 +0100 |
---|---|---|
committer | Melanie | 2012-09-16 04:11:20 +0100 |
commit | db774d4292588db1e2ac4a9fafe977ddbec353ee (patch) | |
tree | 5fc381d7cb96cc0d2b47e4807821f488c339ec13 /OpenSim/Framework/RegionInfo.cs | |
parent | Merge branch 'avination' into careminster (diff) | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC-db774d4292588db1e2ac4a9fafe977ddbec353ee.zip opensim-SC-db774d4292588db1e2ac4a9fafe977ddbec353ee.tar.gz opensim-SC-db774d4292588db1e2ac4a9fafe977ddbec353ee.tar.bz2 opensim-SC-db774d4292588db1e2ac4a9fafe977ddbec353ee.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/CoreModules/Framework/EntityTransfer/HGEntityTransferModule.cs
OpenSim/Region/Framework/Scenes/EventManager.cs
Diffstat (limited to 'OpenSim/Framework/RegionInfo.cs')
-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 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) |