Kill "Compile successful" message when rezzing prims/wearing attachments

Changes behavior to send on_rez event to prims when rezzed from agent
inventory.
This commit is contained in:
Melanie Thielker
2008-09-26 20:18:31 +00:00
parent 415520cea6
commit b416422349
3 changed files with 7 additions and 6 deletions

View File

@@ -500,12 +500,12 @@ namespace OpenSim.Region.ScriptEngine.XEngine
{
assembly = m_Compiler.PerformScriptCompile(script,
assetID.ToString());
if (presence != null)
if (presence != null && (!postOnRez))
presence.ControllingClient.SendAgentAlertMessage("Compile successful", false);
}
catch (Exception e)
{
if (presence != null)
if (presence != null && (!postOnRez))
presence.ControllingClient.SendAgentAlertMessage("Script saved with errors, check debug window!", false);
try
{