diff options
author | Teravus Ovares | 2008-09-06 07:52:41 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-09-06 07:52:41 +0000 |
commit | 7d89e122930be39e84a6d174548fa2d12ac0484a (patch) | |
tree | e5aa5752f988a9aba2a969f49e5e208985eda80c /OpenSim/Framework/ConfigurationMember.cs | |
parent | * minor: speculatively try a change to bamboo.build to see if this generates ... (diff) | |
download | opensim-SC-7d89e122930be39e84a6d174548fa2d12ac0484a.zip opensim-SC-7d89e122930be39e84a6d174548fa2d12ac0484a.tar.gz opensim-SC-7d89e122930be39e84a6d174548fa2d12ac0484a.tar.bz2 opensim-SC-7d89e122930be39e84a6d174548fa2d12ac0484a.tar.xz |
* This is the fabled LibOMV update with all of the libOMV types from JHurliman
* This is a HUGE OMG update and will definitely have unknown side effects.. so this is really only for the strong hearted at this point. Regular people should let the dust settle.
* This has been tested to work with most basic functions. However.. make sure you back up 'everything' before using this. It's that big!
* Essentially we're back at square 1 in the testing phase.. so lets identify things that broke.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/ConfigurationMember.cs | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Framework/ConfigurationMember.cs b/OpenSim/Framework/ConfigurationMember.cs index c363ec0..9fdb046 100644 --- a/OpenSim/Framework/ConfigurationMember.cs +++ b/OpenSim/Framework/ConfigurationMember.cs | |||
@@ -31,7 +31,7 @@ using System.Globalization; | |||
31 | using System.Net; | 31 | using System.Net; |
32 | using System.Reflection; | 32 | using System.Reflection; |
33 | using System.Xml; | 33 | using System.Xml; |
34 | using libsecondlife; | 34 | using OpenMetaverse; |
35 | using log4net; | 35 | using log4net; |
36 | using OpenSim.Framework.Console; | 36 | using OpenSim.Framework.Console; |
37 | 37 | ||
@@ -359,36 +359,36 @@ namespace OpenSim.Framework | |||
359 | } | 359 | } |
360 | errorMessage = "an IP Address (IPAddress)"; | 360 | errorMessage = "an IP Address (IPAddress)"; |
361 | break; | 361 | break; |
362 | case ConfigurationOption.ConfigurationTypes.TYPE_LLUUID: | 362 | case ConfigurationOption.ConfigurationTypes.TYPE_UUID: |
363 | LLUUID uuidResult; | 363 | UUID uuidResult; |
364 | if (LLUUID.TryParse(console_result, out uuidResult)) | 364 | if (UUID.TryParse(console_result, out uuidResult)) |
365 | { | 365 | { |
366 | convertSuccess = true; | 366 | convertSuccess = true; |
367 | return_result = uuidResult; | 367 | return_result = uuidResult; |
368 | } | 368 | } |
369 | errorMessage = "a UUID (LLUUID)"; | 369 | errorMessage = "a UUID (UUID)"; |
370 | break; | 370 | break; |
371 | case ConfigurationOption.ConfigurationTypes.TYPE_LLUUID_NULL_FREE: | 371 | case ConfigurationOption.ConfigurationTypes.TYPE_UUID_NULL_FREE: |
372 | LLUUID uuidResult2; | 372 | UUID uuidResult2; |
373 | if (LLUUID.TryParse(console_result, out uuidResult2)) | 373 | if (UUID.TryParse(console_result, out uuidResult2)) |
374 | { | 374 | { |
375 | convertSuccess = true; | 375 | convertSuccess = true; |
376 | 376 | ||
377 | if (uuidResult2 == LLUUID.Zero) | 377 | if (uuidResult2 == UUID.Zero) |
378 | uuidResult2 = LLUUID.Random(); | 378 | uuidResult2 = UUID.Random(); |
379 | 379 | ||
380 | return_result = uuidResult2; | 380 | return_result = uuidResult2; |
381 | } | 381 | } |
382 | errorMessage = "a non-null UUID (LLUUID)"; | 382 | errorMessage = "a non-null UUID (UUID)"; |
383 | break; | 383 | break; |
384 | case ConfigurationOption.ConfigurationTypes.TYPE_LLVECTOR3: | 384 | case ConfigurationOption.ConfigurationTypes.TYPE_Vector3: |
385 | LLVector3 vectorResult; | 385 | Vector3 vectorResult; |
386 | if (LLVector3.TryParse(console_result, out vectorResult)) | 386 | if (Vector3.TryParse(console_result, out vectorResult)) |
387 | { | 387 | { |
388 | convertSuccess = true; | 388 | convertSuccess = true; |
389 | return_result = vectorResult; | 389 | return_result = vectorResult; |
390 | } | 390 | } |
391 | errorMessage = "a vector (LLVector3)"; | 391 | errorMessage = "a vector (Vector3)"; |
392 | break; | 392 | break; |
393 | case ConfigurationOption.ConfigurationTypes.TYPE_UINT16: | 393 | case ConfigurationOption.ConfigurationTypes.TYPE_UINT16: |
394 | ushort ushortResult; | 394 | ushort ushortResult; |