diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneGraph.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneGraph.cs b/OpenSim/Region/Environment/Scenes/SceneGraph.cs index 22e5150..078916a 100644 --- a/OpenSim/Region/Environment/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Environment/Scenes/SceneGraph.cs | |||
@@ -1397,6 +1397,10 @@ namespace OpenSim.Region.Environment.Scenes | |||
1397 | } | 1397 | } |
1398 | } | 1398 | } |
1399 | } | 1399 | } |
1400 | else | ||
1401 | { | ||
1402 | return; // parent is null so not in this region | ||
1403 | } | ||
1400 | 1404 | ||
1401 | foreach (SceneObjectGroup sceneObj in children) | 1405 | foreach (SceneObjectGroup sceneObj in children) |
1402 | { | 1406 | { |