diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 81244ef..7a1720c 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4706,6 +4706,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4706 | 4706 | ||
4707 | public void aggregateScriptEvents() | 4707 | public void aggregateScriptEvents() |
4708 | { | 4708 | { |
4709 | if (ParentGroup == null || ParentGroup.RootPart == null) | ||
4710 | return; | ||
4711 | |||
4709 | AggregateScriptEvents = 0; | 4712 | AggregateScriptEvents = 0; |
4710 | 4713 | ||
4711 | // Aggregate script events | 4714 | // Aggregate script events |