aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
diff options
context:
space:
mode:
authorMike Rieker2010-04-10 14:43:26 -0400
committerMike Rieker2010-04-10 14:43:26 -0400
commit0b2b2daf23dbf7a51f3d568903548cd964334ce2 (patch)
tree48fdbe61315cb18a1e5182e36abfd50e88f409d2 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
parentre-fixing this darn file (diff)
downloadopensim-SC-0b2b2daf23dbf7a51f3d568903548cd964334ce2.zip
opensim-SC-0b2b2daf23dbf7a51f3d568903548cd964334ce2.tar.gz
opensim-SC-0b2b2daf23dbf7a51f3d568903548cd964334ce2.tar.bz2
opensim-SC-0b2b2daf23dbf7a51f3d568903548cd964334ce2.tar.xz
guarantee that a script engine's GetScriptErrors() will not be called
until after its OnRezScript() returns so that script compile error messages can be retrieved
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index b04871e..6c57d18 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -271,8 +271,7 @@ namespace OpenSim.Region.Framework.Scenes
271 { 271 {
272 // Needs to determine which engine was running it and use that 272 // Needs to determine which engine was running it and use that
273 // 273 //
274 part.Inventory.CreateScriptInstance(item.ItemID, 0, false, DefaultScriptEngine, 0); 274 errors = part.Inventory.CreateScriptInstanceEr(item.ItemID, 0, false, DefaultScriptEngine, 0);
275 errors = part.Inventory.GetScriptErrors(item.ItemID);
276 } 275 }
277 else 276 else
278 { 277 {