From a16c9206b46e4baba1ac4f1d50b26393dea0023c Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Thu, 27 Oct 2011 03:01:27 +0100 Subject: [PATCH] For now, comment out error message on new script engine console commands. This causes false positives if a simulator has more than 1 region and the current region is 'root' since this sends the command separately to each region and each region has its own XEngine --- OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 240e36fd8c..1c16c8736f 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -374,7 +374,10 @@ namespace OpenSim.Region.ScriptEngine.XEngine IScriptInstance instance = GetInstance(itemId); if (instance == null) { - MainConsole.Instance.OutputFormat("Error - No item found with id {0}", itemId); + // Commented out for now since this will cause false reports on simulators with more than + // one scene where the current command line set region is 'root' (which causes commands to + // go to both regions... (sigh) +// MainConsole.Instance.OutputFormat("Error - No item found with id {0}", itemId); return; } else