mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* refactor: call some EventManager triggers directly rather than through scene
This commit is contained in:
@@ -3101,11 +3101,8 @@ if (m_shape != null) {
|
||||
|
||||
public void TriggerScriptChangedEvent(Changed val)
|
||||
{
|
||||
if (m_parentGroup != null)
|
||||
{
|
||||
if (m_parentGroup.Scene != null)
|
||||
m_parentGroup.Scene.TriggerObjectChanged(LocalId, (uint)val);
|
||||
}
|
||||
if (m_parentGroup != null && m_parentGroup.Scene != null)
|
||||
m_parentGroup.Scene.EventManager.TriggerOnScriptChangedEvent(LocalId, (uint)val);
|
||||
}
|
||||
|
||||
public void TrimPermissions()
|
||||
|
||||
Reference in New Issue
Block a user