From b4164223496812ccf8c6d0a938f57a12595d68a0 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 26 Sep 2008 20:18:31 +0000 Subject: Kill "Compile successful" message when rezzing prims/wearing attachments Changes behavior to send on_rez event to prims when rezzed from agent inventory. --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/XEngine/XEngine.cs') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 0448030..a37cbb4 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -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 { -- cgit v1.1