diff options
author | Justin Clark-Casey (justincc) | 2011-10-27 03:01:27 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-27 03:01:27 +0100 |
commit | 40bee97015362bd716193081113cc0940b4d7cb2 (patch) | |
tree | e4b43b3c6c178761d798d34c1bb69fa096feb68b /OpenSim/Region/ScriptEngine | |
parent | Comment out inventory folder bulk update code on InventoryAccepted message in... (diff) | |
download | opensim-SC_OLD-40bee97015362bd716193081113cc0940b4d7cb2.zip opensim-SC_OLD-40bee97015362bd716193081113cc0940b4d7cb2.tar.gz opensim-SC_OLD-40bee97015362bd716193081113cc0940b4d7cb2.tar.bz2 opensim-SC_OLD-40bee97015362bd716193081113cc0940b4d7cb2.tar.xz |
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
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 5 |
1 files changed, 4 insertions, 1 deletions
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 | |||
374 | IScriptInstance instance = GetInstance(itemId); | 374 | IScriptInstance instance = GetInstance(itemId); |
375 | if (instance == null) | 375 | if (instance == null) |
376 | { | 376 | { |
377 | MainConsole.Instance.OutputFormat("Error - No item found with id {0}", itemId); | 377 | // Commented out for now since this will cause false reports on simulators with more than |
378 | // one scene where the current command line set region is 'root' (which causes commands to | ||
379 | // go to both regions... (sigh) | ||
380 | // MainConsole.Instance.OutputFormat("Error - No item found with id {0}", itemId); | ||
378 | return; | 381 | return; |
379 | } | 382 | } |
380 | else | 383 | else |