Suppress error messages about scripts not foind if they're in fact disabled

avinationmerge
Melanie Thielker 2010-08-22 13:51:15 +02:00
parent a0a25bb8ca
commit 071edaff49
1 changed files with 3 additions and 0 deletions

View File

@ -422,6 +422,9 @@ namespace OpenSim.Region.Framework.Scenes
public void ResumeScripts() public void ResumeScripts()
{ {
if (m_scene.RegionInfo.RegionSettings.DisableScripts)
return;
foreach (SceneObjectPart part in m_parts.Values) foreach (SceneObjectPart part in m_parts.Values)
{ {
part.Inventory.ResumeScripts(); part.Inventory.ResumeScripts();