mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
mantis 3315: change the control of script flag running (needs testing)
This commit is contained in:
@@ -530,10 +530,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
m_part.ParentGroup.Scene.EventManager.TriggerRezScript(
|
||||
m_part.LocalId, itemID, script, startParam, postOnRez, engine, stateSource);
|
||||
StoreScriptErrors(itemID, null);
|
||||
if (!item.ScriptRunning)
|
||||
m_part.ParentGroup.Scene.EventManager.TriggerStopScript(m_part.LocalId, itemID);
|
||||
m_part.ParentGroup.AddActiveScriptCount(1);
|
||||
m_part.ScheduleFullUpdate();
|
||||
//if (item.ScriptRunning)
|
||||
m_part.ParentGroup.AddActiveScriptCount(1);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user