diff options
author | Melanie Thielker | 2008-09-26 20:18:31 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-26 20:18:31 +0000 |
commit | b4164223496812ccf8c6d0a938f57a12595d68a0 (patch) | |
tree | 9d32f3fbedb0bd024297b23e45617eaf5980fb80 /OpenSim/Region/ScriptEngine/XEngine | |
parent | Fix listeners in multi-region instances (diff) | |
download | opensim-SC_OLD-b4164223496812ccf8c6d0a938f57a12595d68a0.zip opensim-SC_OLD-b4164223496812ccf8c6d0a938f57a12595d68a0.tar.gz opensim-SC_OLD-b4164223496812ccf8c6d0a938f57a12595d68a0.tar.bz2 opensim-SC_OLD-b4164223496812ccf8c6d0a938f57a12595d68a0.tar.xz |
Kill "Compile successful" message when rezzing prims/wearing attachments
Changes behavior to send on_rez event to prims when rezzed from agent
inventory.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
500 | { | 500 | { |
501 | assembly = m_Compiler.PerformScriptCompile(script, | 501 | assembly = m_Compiler.PerformScriptCompile(script, |
502 | assetID.ToString()); | 502 | assetID.ToString()); |
503 | if (presence != null) | 503 | if (presence != null && (!postOnRez)) |
504 | presence.ControllingClient.SendAgentAlertMessage("Compile successful", false); | 504 | presence.ControllingClient.SendAgentAlertMessage("Compile successful", false); |
505 | } | 505 | } |
506 | catch (Exception e) | 506 | catch (Exception e) |
507 | { | 507 | { |
508 | if (presence != null) | 508 | if (presence != null && (!postOnRez)) |
509 | presence.ControllingClient.SendAgentAlertMessage("Script saved with errors, check debug window!", false); | 509 | presence.ControllingClient.SendAgentAlertMessage("Script saved with errors, check debug window!", false); |
510 | try | 510 | try |
511 | { | 511 | { |