diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 380557b..2d62d66 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1699,6 +1699,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
1699 | 1699 | ||
1700 | public void QueueForUpdateCheck() | 1700 | public void QueueForUpdateCheck() |
1701 | { | 1701 | { |
1702 | if (m_scene == null) // Need to check here as it's null during object creation | ||
1703 | return; | ||
1702 | m_scene.m_sceneGraph.AddToUpdateList(this); | 1704 | m_scene.m_sceneGraph.AddToUpdateList(this); |
1703 | } | 1705 | } |
1704 | 1706 | ||