diff options
author | Melanie | 2012-10-28 19:09:14 +0100 |
---|---|---|
committer | Melanie | 2012-10-28 19:09:14 +0100 |
commit | dc2c198e5df6cd264e9f171a66b1926d850ea361 (patch) | |
tree | 689b88169de7cb8da8682c9a0b3443398af2ce9b /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | Add a property to determine if a link set is stored in the database. Also, fix (diff) | |
download | opensim-SC-dc2c198e5df6cd264e9f171a66b1926d850ea361.zip opensim-SC-dc2c198e5df6cd264e9f171a66b1926d850ea361.tar.gz opensim-SC-dc2c198e5df6cd264e9f171a66b1926d850ea361.tar.bz2 opensim-SC-dc2c198e5df6cd264e9f171a66b1926d850ea361.tar.xz |
Set the script state to new rez when a scriptis saved, rather than region start.
Prevents CHANGED_REGION_RESTART being sent to scripts when saving.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index ff8589a..906c1ee 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -335,7 +335,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
335 | { | 335 | { |
336 | // Needs to determine which engine was running it and use that | 336 | // Needs to determine which engine was running it and use that |
337 | // | 337 | // |
338 | errors = part.Inventory.CreateScriptInstanceEr(item.ItemID, 0, false, DefaultScriptEngine, 0); | 338 | errors = part.Inventory.CreateScriptInstanceEr(item.ItemID, 0, false, DefaultScriptEngine, 1); |
339 | } | 339 | } |
340 | 340 | ||
341 | // Tell anyone managing scripts that a script has been reloaded/changed | 341 | // Tell anyone managing scripts that a script has been reloaded/changed |