diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 9bca654..f45a08c 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4162,10 +4162,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4162 | // their scripts will actually run. | 4162 | // their scripts will actually run. |
4163 | // -- Leaf, Tue Aug 12 14:17:05 EDT 2008 | 4163 | // -- Leaf, Tue Aug 12 14:17:05 EDT 2008 |
4164 | SceneObjectPart parent = part.ParentGroup.RootPart; | 4164 | SceneObjectPart parent = part.ParentGroup.RootPart; |
4165 | if (part.ParentGroup.IsAttachment) | 4165 | return ScriptDanger(parent, parent.GetWorldPosition()); |
4166 | return ScriptDanger(parent, parent.GetWorldPosition()); | ||
4167 | else | ||
4168 | return ScriptDanger(part, part.GetWorldPosition()); | ||
4169 | } | 4166 | } |
4170 | else | 4167 | else |
4171 | { | 4168 | { |