Remove outdated comment about checking attachment prims in Scene.PipeEventsForScript()

xassetservice
Justin Clark-Casey (justincc) 2012-03-02 22:52:26 +00:00
parent 089fd61a3b
commit c2c102d33e
1 changed files with 1 additions and 3 deletions

View File

@ -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());
} }