From 75df0c9000b6001209765e8a75935e22ee9b7d4a Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Thu, 17 Apr 2008 05:23:43 +0000 Subject: * Patch from ChrisDown to fix odd results when using landmarks. Thanks Chris! (Tweaked slightly so avatar don't end up underground). * Removed some testing notices I had in there that were obnoxious. --- OpenSim/Framework/AssetLandmark.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/AssetLandmark.cs b/OpenSim/Framework/AssetLandmark.cs index e0f5415..974a632 100644 --- a/OpenSim/Framework/AssetLandmark.cs +++ b/OpenSim/Framework/AssetLandmark.cs @@ -54,7 +54,7 @@ namespace OpenSim.Framework string[] parts = temp.Split('\n'); int.TryParse(parts[0].Substring(17, 1), out Version); LLUUID.TryParse(parts[1].Substring(10, 36), out RegionID); - LLVector3.TryParse(parts[2].Substring(11, parts[2].Length - 11), out Position); + LLVector3.TryParse(parts[2].Substring(10, parts[2].Length - 10), out Position); ulong.TryParse(parts[3].Substring(14, parts[3].Length - 14), out RegionHandle); } } -- cgit v1.1