aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorCharles Krinke2008-08-13 14:06:21 +0000
committerCharles Krinke2008-08-13 14:06:21 +0000
commit6ccb9948ab9df1004862f997150edc5869ddbbbf (patch)
treebde66d27edd49c4a80528e5b0f52e82a2435c56f /OpenSim/Region/ScriptEngine/Shared
parentRemove the (experimental) suffix from the XEngine line in the sample (diff)
downloadopensim-SC_OLD-6ccb9948ab9df1004862f997150edc5869ddbbbf.zip
opensim-SC_OLD-6ccb9948ab9df1004862f997150edc5869ddbbbf.tar.gz
opensim-SC_OLD-6ccb9948ab9df1004862f997150edc5869ddbbbf.tar.bz2
opensim-SC_OLD-6ccb9948ab9df1004862f997150edc5869ddbbbf.tar.xz
Mantis#1925. Thank you, homerHorwitz for a patch that:
This fixes the coordinates returned by doing a llRequestInventoryData on a landmark.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index d7633d8..17e8253 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2917,10 +2917,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2917 { 2917 {
2918 AssetLandmark lm = new AssetLandmark(a); 2918 AssetLandmark lm = new AssetLandmark(a);
2919 2919
2920 region += lm.Position; 2920 float rx = (uint)(lm.RegionHandle >> 32);
2921 float ry = (uint)lm.RegionHandle;
2922 region = lm.Position + new LLVector3(rx, ry, 0) - region;
2921 2923
2922 string reply = region.ToString(); 2924 string reply = region.ToString();
2923
2924 AsyncCommands. 2925 AsyncCommands.
2925 DataserverPlugin.DataserverReply(i.ToString(), 2926 DataserverPlugin.DataserverReply(i.ToString(),
2926 reply); 2927 reply);