mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
remove SOG.FromPartID from main code and flag it obsolete
This commit is contained in:
@@ -4030,8 +4030,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.None, "osGetRezzingObject");
|
||||
m_host.AddScriptLPS(1);
|
||||
|
||||
return new LSL_Key(m_host.ParentGroup.FromPartID.ToString());
|
||||
UUID rezID = m_host.ParentGroup.RezzerID;
|
||||
if(rezID == UUID.Zero || m_host.ParentGroup.Scene.GetScenePresence(rezID) != null)
|
||||
return new LSL_Key(UUID.Zero.ToString());
|
||||
return new LSL_Key(rezID.ToString());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user