From 40bee97015362bd716193081113cc0940b4d7cb2 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 27 Oct 2011 03:01:27 +0100 Subject: 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(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 240e36f..1c16c87 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 -- cgit v1.1