* Some refactorings.

* Added shell of new Python scripting engine. Similar in design to the one used by Rex, but will be structured at a region rather than object level, also is a region module.
This commit is contained in:
Adam Frisby
2008-05-08 04:34:02 +00:00
parent d8aaf2ccf1
commit 80cbd468ea
11 changed files with 173 additions and 7 deletions

View File

@@ -1007,10 +1007,16 @@ namespace OpenSim.ApplicationPlugins.LoadBalancer
m_log.ErrorFormat("[SPLITSCENE] [LocalUpdatePacket] ScenePresence is missing... ({0})", agentID.ToString());
return;
}
if (((LLClientView) pre.ControllingClient).IsActive)
if (pre.ControllingClient is LLClientView)
{
pre.ControllingClient.OutPacket(packet, throttlePacketType);
if (((LLClientView)pre.ControllingClient).IsActive)
{
((LLClientView)pre.ControllingClient).OutPacket(packet, throttlePacketType);
}
else
{
PacketPool.Instance.ReturnPacket(packet);
}
}
else
{