diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index e2ab643..091fdeb 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -136,6 +136,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
136 | 136 | ||
137 | protected SceneCommunicationService m_sceneGridService; | 137 | protected SceneCommunicationService m_sceneGridService; |
138 | public bool LoginsDisabled = true; | 138 | public bool LoginsDisabled = true; |
139 | public bool LoadingPrims = false; | ||
139 | 140 | ||
140 | public new float TimeDilation | 141 | public new float TimeDilation |
141 | { | 142 | { |
@@ -1879,6 +1880,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1879 | /// </summary> | 1880 | /// </summary> |
1880 | public virtual void LoadPrimsFromStorage(UUID regionID) | 1881 | public virtual void LoadPrimsFromStorage(UUID regionID) |
1881 | { | 1882 | { |
1883 | LoadingPrims = true; | ||
1882 | m_log.Info("[SCENE]: Loading objects from datastore"); | 1884 | m_log.Info("[SCENE]: Loading objects from datastore"); |
1883 | 1885 | ||
1884 | List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(regionID); | 1886 | List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(regionID); |
@@ -1902,6 +1904,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1902 | } | 1904 | } |
1903 | 1905 | ||
1904 | m_log.Info("[SCENE]: Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); | 1906 | m_log.Info("[SCENE]: Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); |
1907 | LoadingPrims = false; | ||
1905 | } | 1908 | } |
1906 | 1909 | ||
1907 | 1910 | ||