Remove outdated comment about checking attachment prims in Scene.PipeEventsForScript()
parent
089fd61a3b
commit
c2c102d33e
|
@ -4156,11 +4156,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
public bool PipeEventsForScript(uint localID)
|
public bool PipeEventsForScript(uint localID)
|
||||||
{
|
{
|
||||||
SceneObjectPart part = GetSceneObjectPart(localID);
|
SceneObjectPart part = GetSceneObjectPart(localID);
|
||||||
|
|
||||||
if (part != null)
|
if (part != null)
|
||||||
{
|
{
|
||||||
// Changed so that child prims of attachments return ScriptDanger for their parent, so that
|
|
||||||
// their scripts will actually run.
|
|
||||||
// -- Leaf, Tue Aug 12 14:17:05 EDT 2008
|
|
||||||
SceneObjectPart parent = part.ParentGroup.RootPart;
|
SceneObjectPart parent = part.ParentGroup.RootPart;
|
||||||
return ScriptDanger(parent, parent.GetWorldPosition());
|
return ScriptDanger(parent, parent.GetWorldPosition());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue