Finishing the code cleanup in DNE, make llDie work again in DNE.

Add some compile messages from XEngine into DNE as well.
This commit is contained in:
Melanie Thielker
2008-09-26 17:59:36 +00:00
parent 16b6738cda
commit e5db6a75d0
4 changed files with 287 additions and 235 deletions

View File

@@ -356,6 +356,31 @@ namespace OpenSim.Region.ScriptEngine.XEngine
engine = engineName;
script = "//" + script.Substring(script.IndexOf(':')+1);
}
else
{
if (engine == ScriptEngineName)
{
SceneObjectPart part =
m_Scene.GetSceneObjectPart(
localID);
TaskInventoryItem item =
part.GetInventoryItem(itemID);
ScenePresence presence =
m_Scene.GetScenePresence(
item.OwnerID);
if (presence != null)
{
presence.ControllingClient.SendAgentAlertMessage(
"Selected engine unavailable. "+
"Running script on "+
ScriptEngineName,
false);
}
}
}
}
}