aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2012-03-03 09:58:57 +0000
committerMelanie2012-03-03 09:58:57 +0000
commit1f32730798c7633bbed47736a1b302dcd13ce903 (patch)
tree2456fc1135e91e56e0d17d9fbe67f147b7f5fda2 /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge branch 'master' into careminster (diff)
parentRemove outdated comment about checking attachment prims in Scene.PipeEventsFo... (diff)
downloadopensim-SC-1f32730798c7633bbed47736a1b302dcd13ce903.zip
opensim-SC-1f32730798c7633bbed47736a1b302dcd13ce903.tar.gz
opensim-SC-1f32730798c7633bbed47736a1b302dcd13ce903.tar.bz2
opensim-SC-1f32730798c7633bbed47736a1b302dcd13ce903.tar.xz
Merge branch 'master' into careminster
Conflicts: OpenSim/Framework/Servers/VersionInfo.cs OpenSim/Region/CoreModules/World/WorldMap/WorldMapModule.cs OpenSim/Region/Framework/Scenes/ScenePresence.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs9
1 files changed, 2 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 108f3c8..4324cc0 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4330,16 +4330,11 @@ namespace OpenSim.Region.Framework.Scenes
4330 public bool PipeEventsForScript(uint localID) 4330 public bool PipeEventsForScript(uint localID)
4331 { 4331 {
4332 SceneObjectPart part = GetSceneObjectPart(localID); 4332 SceneObjectPart part = GetSceneObjectPart(localID);
4333
4333 if (part != null) 4334 if (part != null)
4334 { 4335 {
4335 // Changed so that child prims of attachments return ScriptDanger for their parent, so that
4336 // their scripts will actually run.
4337 // -- Leaf, Tue Aug 12 14:17:05 EDT 2008
4338 SceneObjectPart parent = part.ParentGroup.RootPart; 4336 SceneObjectPart parent = part.ParentGroup.RootPart;
4339 if (part.ParentGroup.IsAttachment) 4337 return ScriptDanger(parent, parent.GetWorldPosition());
4340 return ScriptDanger(parent, parent.GetWorldPosition());
4341 else
4342 return ScriptDanger(part, part.GetWorldPosition());
4343 } 4338 }
4344 else 4339 else
4345 { 4340 {