mirror of
https://github.com/opensim/opensim.git
synced 2026-08-02 23:18:34 +08:00
Mantis#1925. Thank you, homerHorwitz for a patch that:
This fixes the coordinates returned by doing a llRequestInventoryData on a landmark.
This commit is contained in:
@@ -2917,10 +2917,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
AssetLandmark lm = new AssetLandmark(a);
|
||||
|
||||
region += lm.Position;
|
||||
float rx = (uint)(lm.RegionHandle >> 32);
|
||||
float ry = (uint)lm.RegionHandle;
|
||||
region = lm.Position + new LLVector3(rx, ry, 0) - region;
|
||||
|
||||
string reply = region.ToString();
|
||||
|
||||
AsyncCommands.
|
||||
DataserverPlugin.DataserverReply(i.ToString(),
|
||||
reply);
|
||||
|
||||
Reference in New Issue
Block a user