diff options
Diffstat (limited to 'OpenSim')
-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 35986cf..ae8f25d 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -4285,6 +4285,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
4285 | 4285 | ||
4286 | public void aggregateScriptEvents() | 4286 | public void aggregateScriptEvents() |
4287 | { | 4287 | { |
4288 | if (ParentGroup.RootPart == null) | ||
4289 | return; | ||
4290 | |||
4288 | AggregateScriptEvents = 0; | 4291 | AggregateScriptEvents = 0; |
4289 | 4292 | ||
4290 | // Aggregate script events | 4293 | // Aggregate script events |