refactoring the grunt work of MessageObject into a private method with a UUID argument
parent
a858c5daee
commit
d4b8a13a1d
|
@ -1673,6 +1673,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MessageObject(objUUID, message);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void MessageObject(UUID objUUID, string message)
|
||||||
|
{
|
||||||
object[] resobj = new object[] { new LSL_Types.LSLString(m_host.UUID.ToString()), new LSL_Types.LSLString(message) };
|
object[] resobj = new object[] { new LSL_Types.LSLString(m_host.UUID.ToString()), new LSL_Types.LSLString(message) };
|
||||||
|
|
||||||
SceneObjectPart sceneOP = World.GetSceneObjectPart(objUUID);
|
SceneObjectPart sceneOP = World.GetSceneObjectPart(objUUID);
|
||||||
|
|
Loading…
Reference in New Issue