mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
reduced-complexity implementation of function to get rezzing object key
Signed-off-by: Melanie <melanie@t-data.com>
This commit is contained in:
@@ -3314,5 +3314,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
|
||||
return Math.Max(a, b);
|
||||
}
|
||||
|
||||
public LSL_Key osGetRezzingObject()
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.None, "osGetRezzingObject");
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
return new LSL_Key(m_host.ParentGroup.RezzingObjectID.ToString());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user