diff options
Diffstat (limited to 'OpenSim/Framework/RegionSettings.cs')
-rw-r--r-- | OpenSim/Framework/RegionSettings.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Framework/RegionSettings.cs b/OpenSim/Framework/RegionSettings.cs index dec01ea..c2947a2 100644 --- a/OpenSim/Framework/RegionSettings.cs +++ b/OpenSim/Framework/RegionSettings.cs | |||
@@ -91,7 +91,7 @@ namespace OpenSim.Framework | |||
91 | string[] parts = str.Split(','); | 91 | string[] parts = str.Split(','); |
92 | if (parts.Length != 3) | 92 | if (parts.Length != 3) |
93 | throw new ArgumentException("Invalid string: " + str); | 93 | throw new ArgumentException("Invalid string: " + str); |
94 | 94 | ||
95 | SpawnPoint sp = new SpawnPoint(); | 95 | SpawnPoint sp = new SpawnPoint(); |
96 | sp.Yaw = float.Parse(parts[0]); | 96 | sp.Yaw = float.Parse(parts[0]); |
97 | sp.Pitch = float.Parse(parts[1]); | 97 | sp.Pitch = float.Parse(parts[1]); |
@@ -105,7 +105,7 @@ namespace OpenSim.Framework | |||
105 | public delegate void SaveDelegate(RegionSettings rs); | 105 | public delegate void SaveDelegate(RegionSettings rs); |
106 | 106 | ||
107 | public event SaveDelegate OnSave; | 107 | public event SaveDelegate OnSave; |
108 | 108 | ||
109 | /// <value> | 109 | /// <value> |
110 | /// These appear to be terrain textures that are shipped with the client. | 110 | /// These appear to be terrain textures that are shipped with the client. |
111 | /// </value> | 111 | /// </value> |
@@ -454,24 +454,24 @@ namespace OpenSim.Framework | |||
454 | get { return m_LoadedCreationDateTime; } | 454 | get { return m_LoadedCreationDateTime; } |
455 | set { m_LoadedCreationDateTime = value; } | 455 | set { m_LoadedCreationDateTime = value; } |
456 | } | 456 | } |
457 | 457 | ||
458 | public String LoadedCreationDate | 458 | public String LoadedCreationDate |
459 | { | 459 | { |
460 | get | 460 | get |
461 | { | 461 | { |
462 | TimeSpan ts = new TimeSpan(0, 0, LoadedCreationDateTime); | 462 | TimeSpan ts = new TimeSpan(0, 0, LoadedCreationDateTime); |
463 | DateTime stamp = new DateTime(1970, 1, 1) + ts; | 463 | DateTime stamp = new DateTime(1970, 1, 1) + ts; |
464 | return stamp.ToLongDateString(); | 464 | return stamp.ToLongDateString(); |
465 | } | 465 | } |
466 | } | 466 | } |
467 | 467 | ||
468 | public String LoadedCreationTime | 468 | public String LoadedCreationTime |
469 | { | 469 | { |
470 | get | 470 | get |
471 | { | 471 | { |
472 | TimeSpan ts = new TimeSpan(0, 0, LoadedCreationDateTime); | 472 | TimeSpan ts = new TimeSpan(0, 0, LoadedCreationDateTime); |
473 | DateTime stamp = new DateTime(1970, 1, 1) + ts; | 473 | DateTime stamp = new DateTime(1970, 1, 1) + ts; |
474 | return stamp.ToLongTimeString(); | 474 | return stamp.ToLongTimeString(); |
475 | } | 475 | } |
476 | } | 476 | } |
477 | 477 | ||