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 221eb47..8e860fb 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -145,6 +145,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
145 | 145 | ||
146 | protected SceneCommunicationService m_sceneGridService; | 146 | protected SceneCommunicationService m_sceneGridService; |
147 | public bool LoginsDisabled = true; | 147 | public bool LoginsDisabled = true; |
148 | public bool LoadingPrims = false; | ||
148 | 149 | ||
149 | public new float TimeDilation | 150 | public new float TimeDilation |
150 | { | 151 | { |
@@ -1691,6 +1692,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1691 | /// </summary> | 1692 | /// </summary> |
1692 | public virtual void LoadPrimsFromStorage(UUID regionID) | 1693 | public virtual void LoadPrimsFromStorage(UUID regionID) |
1693 | { | 1694 | { |
1695 | LoadingPrims = true; | ||
1694 | m_log.Info("[SCENE]: Loading objects from datastore"); | 1696 | m_log.Info("[SCENE]: Loading objects from datastore"); |
1695 | 1697 | ||
1696 | List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(regionID); | 1698 | List<SceneObjectGroup> PrimsFromDB = m_storageManager.DataStore.LoadObjects(regionID); |
@@ -1714,6 +1716,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1714 | } | 1716 | } |
1715 | 1717 | ||
1716 | m_log.Info("[SCENE]: Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); | 1718 | m_log.Info("[SCENE]: Loaded " + PrimsFromDB.Count.ToString() + " SceneObject(s)"); |
1719 | LoadingPrims = false; | ||
1717 | } | 1720 | } |
1718 | 1721 | ||
1719 | 1722 | ||