mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
filter some changed events at trigger point
This commit is contained in:
@@ -4503,7 +4503,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
|
||||
public void TriggerScriptChangedEvent(Changed val, object data = null)
|
||||
{
|
||||
if (ParentGroup != null && ParentGroup.Scene != null)
|
||||
//if (ParentGroup != null && ParentGroup.Scene != null && (ScriptEvents & scriptEvents.changed) != 0)
|
||||
if ((ScriptEvents & scriptEvents.changed) != 0)
|
||||
ParentGroup.Scene.EventManager.TriggerOnScriptChangedEvent(LocalId, (uint)val, data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user