diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
249 | /// </returns> | 249 | /// </returns> |
250 | protected bool AddSceneObject(SceneObjectGroup sceneObject, bool attachToBackup) | 250 | protected bool AddSceneObject(SceneObjectGroup sceneObject, bool attachToBackup) |
251 | { | 251 | { |
252 | if (sceneObject == null || sceneObject.RootPart == null || sceneObject.RootPart.UUID == null) | 252 | if (sceneObject == null || sceneObject.RootPart == null || sceneObject.RootPart.UUID == UUID.Zero) |
253 | return false; | 253 | return false; |
254 | 254 | ||
255 | sceneObject.ApplyPhysics(m_parentScene.m_physicalPrim); | 255 | sceneObject.ApplyPhysics(m_parentScene.m_physicalPrim); |