diff options
author | Justin Clark-Casey (justincc) | 2012-03-02 22:52:26 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-02 22:52:26 +0000 |
commit | c2c102d33e46d0ed651198e0e9b7459423516660 (patch) | |
tree | 2c48c92eb44fdb149da92aa62c21bcfe581a8a51 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Allow a script to receive events if its root prim is in an area where it's al... (diff) | |
download | opensim-SC_OLD-c2c102d33e46d0ed651198e0e9b7459423516660.zip opensim-SC_OLD-c2c102d33e46d0ed651198e0e9b7459423516660.tar.gz opensim-SC_OLD-c2c102d33e46d0ed651198e0e9b7459423516660.tar.bz2 opensim-SC_OLD-c2c102d33e46d0ed651198e0e9b7459423516660.tar.xz |
Remove outdated comment about checking attachment prims in Scene.PipeEventsForScript()
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index f45a08c..a01b851 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4156,11 +4156,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4156 | public bool PipeEventsForScript(uint localID) | 4156 | public bool PipeEventsForScript(uint localID) |
4157 | { | 4157 | { |
4158 | SceneObjectPart part = GetSceneObjectPart(localID); | 4158 | SceneObjectPart part = GetSceneObjectPart(localID); |
4159 | |||
4159 | if (part != null) | 4160 | if (part != null) |
4160 | { | 4161 | { |
4161 | // Changed so that child prims of attachments return ScriptDanger for their parent, so that | ||
4162 | // their scripts will actually run. | ||
4163 | // -- Leaf, Tue Aug 12 14:17:05 EDT 2008 | ||
4164 | SceneObjectPart parent = part.ParentGroup.RootPart; | 4162 | SceneObjectPart parent = part.ParentGroup.RootPart; |
4165 | return ScriptDanger(parent, parent.GetWorldPosition()); | 4163 | return ScriptDanger(parent, parent.GetWorldPosition()); |
4166 | } | 4164 | } |