aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 8d81812..984c567 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -858,10 +858,11 @@ namespace OpenSim.Region.Framework.Scenes
858 if (m_updateEntitiesThread == null) 858 if (m_updateEntitiesThread == null)
859 { 859 {
860 m_updateEntitiesThread = new Thread(m_sceneGraph.UpdateEntities); 860 m_updateEntitiesThread = new Thread(m_sceneGraph.UpdateEntities);
861
861 ThreadTracker.Add(m_updateEntitiesThread); 862 ThreadTracker.Add(m_updateEntitiesThread);
862 } 863 }
863 864
864 if(!m_updateEntitiesThread.IsAlive) 865 if(m_updateEntitiesThread.ThreadState == ThreadState.Stopped)
865 m_updateEntitiesThread.Start(); 866 m_updateEntitiesThread.Start();
866 867
867 //m_sceneGraph.UpdateEntities(); 868 //m_sceneGraph.UpdateEntities();