From d9d5a56f1da469cadb8d2d0e1594c16ec149901f Mon Sep 17 00:00:00 2001 From: diva Date: Mon, 9 Feb 2009 23:12:49 +0000 Subject: [PATCH] Fixes a failed unit test on ScenePresences tests. That test unit needs some fixing too. --- OpenSim/Region/Framework/Scenes/Scene.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index b10acc7039..b2d77f5b8d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs @@ -2031,7 +2031,8 @@ namespace OpenSim.Region.Framework.Scenes //} // And the new channel... - successYN = m_interregionCommsOut.SendCreateObject(newRegionHandle, grp); + if (m_interregionCommsOut != null) + successYN = m_interregionCommsOut.SendCreateObject(newRegionHandle, grp); if (successYN) {