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 daad3d2..f79bd23 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 | { |
@@ -1906,6 +1907,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1906 | /// </summary> | 1907 | /// </summary> |
1907 | public virtual void LoadPrimsFromStorage(UUID regionID) | 1908 | public virtual void LoadPrimsFromStorage(UUID regionID) |
1908 | { | 1909 | { |
1910 | LoadingPrims = true; | ||
1909 | m_log.Info("[SCENE]: Loading objects from datastore"); | 1911 | m_log.Info("[SCENE]: Loading objects from datastore"); |
1910 | 1912 | ||
1911 | List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(regionID); | 1913 | List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(regionID); |
@@ -1929,6 +1931,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1929 | } | 1931 | } |
1930 | 1932 | ||
1931 | m_log.Info("[SCENE]: Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); | 1933 | m_log.Info("[SCENE]: Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); |
1934 | LoadingPrims = false; | ||
1932 | } | 1935 | } |
1933 | 1936 | ||
1934 | 1937 | ||