mirror of
https://github.com/opensim/opensim.git
synced 2026-08-02 23:18:34 +08:00
Change llGetOwnerKey to use another overload of GetSceneObject.
Fixes Mantis #3326
This commit is contained in:
@@ -4405,7 +4405,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
{
|
||||
try
|
||||
{
|
||||
SceneObjectPart obj = World.GetSceneObjectPart(World.Entities[key].LocalId);
|
||||
SceneObjectPart obj = World.GetSceneObjectPart(key);
|
||||
if (obj == null)
|
||||
return id; // the key is for an agent so just return the key
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user