From 9d6f043a7988cafb30831fa678f6151f1c34860e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 13 Oct 2008 20:45:13 +0000 Subject: * Remove warnings, including one which pointed out a bug --- OpenSim/Region/Environment/Scenes/InnerScene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs') diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index 9e41531..1b0ea6f 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs @@ -249,7 +249,7 @@ namespace OpenSim.Region.Environment.Scenes /// protected bool AddSceneObject(SceneObjectGroup sceneObject, bool attachToBackup) { - if (sceneObject == null || sceneObject.RootPart == null || sceneObject.RootPart.UUID == null) + if (sceneObject == null || sceneObject.RootPart == null || sceneObject.RootPart.UUID == UUID.Zero) return false; sceneObject.ApplyPhysics(m_parentScene.m_physicalPrim); -- cgit v1.1