diff options
author | Melanie | 2012-05-15 21:19:06 +0100 |
---|---|---|
committer | Melanie | 2012-05-15 21:19:06 +0100 |
commit | a36c487c791ba38a75433b92f5b0e5c75d9b52a4 (patch) | |
tree | c502a631cbd54c43168a71240f872f76cf50b9c5 /OpenSim/Region | |
parent | Merge branch 'avination' into careminster (diff) | |
parent | Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim (diff) | |
download | opensim-SC-a36c487c791ba38a75433b92f5b0e5c75d9b52a4.zip opensim-SC-a36c487c791ba38a75433b92f5b0e5c75d9b52a4.tar.gz opensim-SC-a36c487c791ba38a75433b92f5b0e5c75d9b52a4.tar.bz2 opensim-SC-a36c487c791ba38a75433b92f5b0e5c75d9b52a4.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index f9c5e28..6064279 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2567,7 +2567,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2567 | } | 2567 | } |
2568 | else | 2568 | else |
2569 | { | 2569 | { |
2570 | if ((ParentGroup.RootPart.ScriptEvents & scriptEvents.collision_start) != 0) | 2570 | if ((ParentGroup.RootPart.ScriptEvents & ev) != 0) |
2571 | sendToRoot = true; | 2571 | sendToRoot = true; |
2572 | } | 2572 | } |
2573 | if (sendToRoot && ParentGroup.RootPart != this) | 2573 | if (sendToRoot && ParentGroup.RootPart != this) |
@@ -4708,6 +4708,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4708 | 4708 | ||
4709 | public void aggregateScriptEvents() | 4709 | public void aggregateScriptEvents() |
4710 | { | 4710 | { |
4711 | if (ParentGroup == null || ParentGroup.RootPart == null) | ||
4712 | return; | ||
4713 | |||
4711 | AggregateScriptEvents = 0; | 4714 | AggregateScriptEvents = 0; |
4712 | 4715 | ||
4713 | // Aggregate script events | 4716 | // Aggregate script events |