aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/RegionInfo.cs
diff options
context:
space:
mode:
authorMelanie2010-03-04 10:43:12 +0000
committerMelanie2010-03-04 10:43:12 +0000
commit31f7e06c25ba5c195cabd7a79d5fce8cbcec7fca (patch)
treee351c23bd3f773e0ceb4cae518987c73edc90f6d /OpenSim/Framework/RegionInfo.cs
parentRemove a superfluous array creation (diff)
parentcompiler warnings revealed that public PlaySoundSlavePrims properties were ch... (diff)
downloadopensim-SC-31f7e06c25ba5c195cabd7a79d5fce8cbcec7fca.zip
opensim-SC-31f7e06c25ba5c195cabd7a79d5fce8cbcec7fca.tar.gz
opensim-SC-31f7e06c25ba5c195cabd7a79d5fce8cbcec7fca.tar.bz2
opensim-SC-31f7e06c25ba5c195cabd7a79d5fce8cbcec7fca.tar.xz
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/RegionInfo.cs18
1 files changed, 4 insertions, 14 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index ac38ac2..5d63da7 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -351,7 +351,7 @@ namespace OpenSim.Framework
351 351
352 private void ReadNiniConfig(IConfigSource source, string name) 352 private void ReadNiniConfig(IConfigSource source, string name)
353 { 353 {
354 bool creatingNew = false; 354// bool creatingNew = false;
355 355
356 if (source.Configs.Count == 0) 356 if (source.Configs.Count == 0)
357 { 357 {
@@ -368,7 +368,7 @@ namespace OpenSim.Framework
368 368
369 source.AddConfig(name); 369 source.AddConfig(name);
370 370
371 creatingNew = true; 371// creatingNew = true;
372 } 372 }
373 373
374 if (name == String.Empty) 374 if (name == String.Empty)
@@ -378,7 +378,7 @@ namespace OpenSim.Framework
378 { 378 {
379 source.AddConfig(name); 379 source.AddConfig(name);
380 380
381 creatingNew = true; 381// creatingNew = true;
382 } 382 }
383 383
384 IConfig config = source.Configs[name]; 384 IConfig config = source.Configs[name];
@@ -397,15 +397,8 @@ namespace OpenSim.Framework
397 397
398 RegionID = new UUID(regionUUID); 398 RegionID = new UUID(regionUUID);
399 originRegionID = RegionID; // What IS this?! 399 originRegionID = RegionID; // What IS this?!
400 400
401
402 // Region name
403 //
404 RegionName = name; 401 RegionName = name;
405
406
407 // Region location
408 //
409 string location = config.GetString("Location", String.Empty); 402 string location = config.GetString("Location", String.Empty);
410 403
411 if (location == String.Empty) 404 if (location == String.Empty)
@@ -421,12 +414,9 @@ namespace OpenSim.Framework
421 414
422 415
423 // Datastore (is this implemented? Omitted from example!) 416 // Datastore (is this implemented? Omitted from example!)
424 //
425 DataStore = config.GetString("Datastore", String.Empty); 417 DataStore = config.GetString("Datastore", String.Empty);
426 418
427
428 // Internal IP 419 // Internal IP
429 //
430 IPAddress address; 420 IPAddress address;
431 421
432 if (config.Contains("InternalAddress")) 422 if (config.Contains("InternalAddress"))