aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AssetLandmark.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-04-16 14:10:54 +0000
committerTeravus Ovares2008-04-16 14:10:54 +0000
commit7c1f17b994ca987df2167101054f523cc33d7fb9 (patch)
tree19c74ddb0973e84fb6c2b31493efa4847a7b4f44 /OpenSim/Framework/AssetLandmark.cs
parentAfter reading Timer.cs in the mono source, I'm not (diff)
downloadopensim-SC_OLD-7c1f17b994ca987df2167101054f523cc33d7fb9.zip
opensim-SC_OLD-7c1f17b994ca987df2167101054f523cc33d7fb9.tar.gz
opensim-SC_OLD-7c1f17b994ca987df2167101054f523cc33d7fb9.tar.bz2
opensim-SC_OLD-7c1f17b994ca987df2167101054f523cc33d7fb9.tar.xz
* Applying melanie's Landmark patch. Thanks Melanie!
* To make a landmark, you currently have to enable admin options in the advanced menu first. We're working on this.. however use the admin options solution in the mean time.
Diffstat (limited to 'OpenSim/Framework/AssetLandmark.cs')
-rw-r--r--OpenSim/Framework/AssetLandmark.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Framework/AssetLandmark.cs b/OpenSim/Framework/AssetLandmark.cs
index fe6f835..e0f5415 100644
--- a/OpenSim/Framework/AssetLandmark.cs
+++ b/OpenSim/Framework/AssetLandmark.cs
@@ -35,6 +35,7 @@ namespace OpenSim.Framework
35 public int Version; 35 public int Version;
36 public LLVector3 Position; 36 public LLVector3 Position;
37 public LLUUID RegionID; 37 public LLUUID RegionID;
38 public ulong RegionHandle;
38 39
39 public AssetLandmark(AssetBase a) 40 public AssetLandmark(AssetBase a)
40 { 41 {
@@ -54,6 +55,7 @@ namespace OpenSim.Framework
54 int.TryParse(parts[0].Substring(17, 1), out Version); 55 int.TryParse(parts[0].Substring(17, 1), out Version);
55 LLUUID.TryParse(parts[1].Substring(10, 36), out RegionID); 56 LLUUID.TryParse(parts[1].Substring(10, 36), out RegionID);
56 LLVector3.TryParse(parts[2].Substring(11, parts[2].Length - 11), out Position); 57 LLVector3.TryParse(parts[2].Substring(11, parts[2].Length - 11), out Position);
58 ulong.TryParse(parts[3].Substring(14, parts[3].Length - 14), out RegionHandle);
57 } 59 }
58 } 60 }
59} 61}