From 5463bffa68b06072b9636b1e4f87df9323f2f5c4 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 28 May 2018 09:25:09 +0100 Subject: [PATCH] make Yengine post attach event as Xengine does. This should fix that event. Thx mrieker for pointing out this issue --- OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs b/OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs index ce74d9f1a8..f7aad6e2d5 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMRInstCtor.cs @@ -401,9 +401,9 @@ namespace OpenSim.Region.ScriptEngine.Yengine switch(m_StateSource) { case StateSource.AttachedRez: - // PostEvent(new EventParams("attach", - // new object[] { m_Part.ParentGroup.AttachedAvatar.ToString() }, - // zeroDetectParams)); + PostEvent(new EventParams("attach", + new object[] { m_Part.ParentGroup.AttachedAvatar.ToString() }, + zeroDetectParams)); break; case StateSource.PrimCrossing: