mirror of
https://github.com/opensim/opensim.git
synced 2026-05-14 02:39:52 +08:00
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:
@@ -145,7 +145,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
LSLCompiler.PerformScriptCompile(Script,
|
||||
assetID.ToString());
|
||||
|
||||
if (presence != null)
|
||||
if (presence != null && (!postOnRez))
|
||||
presence.ControllingClient.SendAgentAlertMessage(
|
||||
"Compile successful", false);
|
||||
|
||||
@@ -205,7 +205,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
|
||||
}
|
||||
catch (Exception e) // LEGIT: User Scripting
|
||||
{
|
||||
if (presence != null)
|
||||
if (presence != null && (!postOnRez))
|
||||
presence.ControllingClient.SendAgentAlertMessage(
|
||||
"Script saved with errors, check debug window!",
|
||||
false);
|
||||
|
||||
Reference in New Issue
Block a user