From e102ed3ce15c57a3dd26b231b944d31c4453ebbd Mon Sep 17 00:00:00 2001 From: idb Date: Sun, 30 Nov 2008 21:19:53 +0000 Subject: Mantis #2716 Null when linking across objects across two regions. Now silently fails to link prims in different regions. --- OpenSim/Region/Environment/Scenes/SceneGraph.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/Environment') 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 } } } + else + { + return; // parent is null so not in this region + } foreach (SceneObjectGroup sceneObj in children) { -- cgit v1.1