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.avinationmerge
parent
1a34f42426
commit
dc2c198e5d
|
@ -335,7 +335,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
{
|
{
|
||||||
// Needs to determine which engine was running it and use that
|
// Needs to determine which engine was running it and use that
|
||||||
//
|
//
|
||||||
errors = part.Inventory.CreateScriptInstanceEr(item.ItemID, 0, false, DefaultScriptEngine, 0);
|
errors = part.Inventory.CreateScriptInstanceEr(item.ItemID, 0, false, DefaultScriptEngine, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tell anyone managing scripts that a script has been reloaded/changed
|
// Tell anyone managing scripts that a script has been reloaded/changed
|
||||||
|
|
Loading…
Reference in New Issue