diff options
author | UbitUmarov | 2015-09-02 19:54:53 +0100 |
---|---|---|
committer | UbitUmarov | 2015-09-02 19:54:53 +0100 |
commit | a11edceb00b5b86f825bd957bdac9edb91f893dd (patch) | |
tree | c192eae26f3aadf365a66f32fc6d9ade2f0a0c61 /OpenSim/Framework/RegionInfo.cs | |
parent | bad merge? (diff) | |
download | opensim-SC-a11edceb00b5b86f825bd957bdac9edb91f893dd.zip opensim-SC-a11edceb00b5b86f825bd957bdac9edb91f893dd.tar.gz opensim-SC-a11edceb00b5b86f825bd957bdac9edb91f893dd.tar.bz2 opensim-SC-a11edceb00b5b86f825bd957bdac9edb91f893dd.tar.xz |
seems to compile ( tests comented out)
Diffstat (limited to 'OpenSim/Framework/RegionInfo.cs')
-rw-r--r-- | OpenSim/Framework/RegionInfo.cs | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs index d75a6cf..ac77352 100644 --- a/OpenSim/Framework/RegionInfo.cs +++ b/OpenSim/Framework/RegionInfo.cs | |||
@@ -102,12 +102,11 @@ namespace OpenSim.Framework | |||
102 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 102 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
103 | private static readonly string LogHeader = "[REGION INFO]"; | 103 | private static readonly string LogHeader = "[REGION INFO]"; |
104 | 104 | ||
105 | <<<<<<< HEAD | 105 | |
106 | ======= | ||
107 | public bool commFailTF = false; | 106 | public bool commFailTF = false; |
108 | public ConfigurationMember configMember; | 107 | public ConfigurationMember configMember; |
109 | public string DataStore = String.Empty; | 108 | public string DataStore = String.Empty; |
110 | >>>>>>> avn/ubitvar | 109 | |
111 | public string RegionFile = String.Empty; | 110 | public string RegionFile = String.Empty; |
112 | public bool isSandbox = false; | 111 | public bool isSandbox = false; |
113 | public bool Persistent = true; | 112 | public bool Persistent = true; |
@@ -534,11 +533,7 @@ namespace OpenSim.Framework | |||
534 | return null; | 533 | return null; |
535 | } | 534 | } |
536 | 535 | ||
537 | <<<<<<< HEAD | ||
538 | private void SetExtraSetting(string key, string value) | ||
539 | ======= | ||
540 | public void SetExtraSetting(string key, string value) | 536 | public void SetExtraSetting(string key, string value) |
541 | >>>>>>> avn/ubitvar | ||
542 | { | 537 | { |
543 | string keylower = key.ToLower(); | 538 | string keylower = key.ToLower(); |
544 | m_extraSettings[keylower] = value; | 539 | m_extraSettings[keylower] = value; |
@@ -834,22 +829,16 @@ namespace OpenSim.Framework | |||
834 | string location = String.Format("{0},{1}", RegionLocX, RegionLocY); | 829 | string location = String.Format("{0},{1}", RegionLocX, RegionLocY); |
835 | config.Set("Location", location); | 830 | config.Set("Location", location); |
836 | 831 | ||
837 | <<<<<<< HEAD | ||
838 | if (RegionSizeX > 0) | ||
839 | ======= | ||
840 | if (DataStore != String.Empty) | 832 | if (DataStore != String.Empty) |
841 | config.Set("Datastore", DataStore); | 833 | config.Set("Datastore", DataStore); |
842 | 834 | ||
843 | if (RegionSizeX != Constants.RegionSize || RegionSizeY != Constants.RegionSize) | 835 | if (RegionSizeX != Constants.RegionSize || RegionSizeY != Constants.RegionSize) |
844 | { | 836 | { |
845 | >>>>>>> avn/ubitvar | ||
846 | config.Set("SizeX", RegionSizeX); | 837 | config.Set("SizeX", RegionSizeX); |
847 | |||
848 | if (RegionSizeY > 0) | ||
849 | config.Set("SizeY", RegionSizeY); | 838 | config.Set("SizeY", RegionSizeY); |
850 | 839 | // if (RegionSizeZ > 0) | |
851 | // if (RegionSizeZ > 0) | 840 | // config.Set("SizeZ", RegionSizeZ); |
852 | // config.Set("SizeZ", RegionSizeZ); | 841 | } |
853 | 842 | ||
854 | config.Set("InternalAddress", m_internalEndPoint.Address.ToString()); | 843 | config.Set("InternalAddress", m_internalEndPoint.Address.ToString()); |
855 | config.Set("InternalPort", m_internalEndPoint.Port); | 844 | config.Set("InternalPort", m_internalEndPoint.Port); |
@@ -920,8 +909,6 @@ namespace OpenSim.Framework | |||
920 | throw new Exception("Invalid file type for region persistence."); | 909 | throw new Exception("Invalid file type for region persistence."); |
921 | } | 910 | } |
922 | 911 | ||
923 | <<<<<<< HEAD | ||
924 | ======= | ||
925 | public void loadConfigurationOptionsFromMe() | 912 | public void loadConfigurationOptionsFromMe() |
926 | { | 913 | { |
927 | configMember.addConfigurationOption("sim_UUID", ConfigurationOption.ConfigurationTypes.TYPE_UUID_NULL_FREE, | 914 | configMember.addConfigurationOption("sim_UUID", ConfigurationOption.ConfigurationTypes.TYPE_UUID_NULL_FREE, |
@@ -984,7 +971,7 @@ namespace OpenSim.Framework | |||
984 | "Max prims an object will hold", m_linksetCapacity.ToString(), true); | 971 | "Max prims an object will hold", m_linksetCapacity.ToString(), true); |
985 | 972 | ||
986 | configMember.addConfigurationOption("agent_capacity", ConfigurationOption.ConfigurationTypes.TYPE_INT32, | 973 | configMember.addConfigurationOption("agent_capacity", ConfigurationOption.ConfigurationTypes.TYPE_INT32, |
987 | "Max avatars this sim will hold", m_agentCapacity.ToString(), true); | 974 | "Max avatars this sim will hold",AgentCapacity.ToString(), true); |
988 | 975 | ||
989 | configMember.addConfigurationOption("scope_id", ConfigurationOption.ConfigurationTypes.TYPE_UUID, | 976 | configMember.addConfigurationOption("scope_id", ConfigurationOption.ConfigurationTypes.TYPE_UUID, |
990 | "Scope ID for this region", ScopeID.ToString(), true); | 977 | "Scope ID for this region", ScopeID.ToString(), true); |
@@ -1131,7 +1118,7 @@ namespace OpenSim.Framework | |||
1131 | m_linksetCapacity = (int)configuration_result; | 1118 | m_linksetCapacity = (int)configuration_result; |
1132 | break; | 1119 | break; |
1133 | case "agent_capacity": | 1120 | case "agent_capacity": |
1134 | m_agentCapacity = (int)configuration_result; | 1121 | AgentCapacity = (int)configuration_result; |
1135 | break; | 1122 | break; |
1136 | case "scope_id": | 1123 | case "scope_id": |
1137 | ScopeID = (UUID)configuration_result; | 1124 | ScopeID = (UUID)configuration_result; |
@@ -1147,7 +1134,7 @@ namespace OpenSim.Framework | |||
1147 | return true; | 1134 | return true; |
1148 | } | 1135 | } |
1149 | 1136 | ||
1150 | >>>>>>> avn/ubitvar | 1137 | |
1151 | public void SaveLastMapUUID(UUID mapUUID) | 1138 | public void SaveLastMapUUID(UUID mapUUID) |
1152 | { | 1139 | { |
1153 | lastMapUUID = mapUUID; | 1140 | lastMapUUID = mapUUID; |