mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Move loading of parcels to before script start. Scripts using parcel functions
can fail if no land is loaded
This commit is contained in:
@@ -367,13 +367,13 @@ namespace OpenSim
|
||||
Environment.Exit(1);
|
||||
}
|
||||
|
||||
scene.loadAllLandObjectsFromStorage(regionInfo.originRegionID);
|
||||
scene.EventManager.TriggerParcelPrimCountUpdate();
|
||||
|
||||
// We need to do this after we've initialized the
|
||||
// scripting engines.
|
||||
scene.CreateScriptInstances();
|
||||
|
||||
scene.loadAllLandObjectsFromStorage(regionInfo.originRegionID);
|
||||
scene.EventManager.TriggerParcelPrimCountUpdate();
|
||||
|
||||
m_sceneManager.Add(scene);
|
||||
|
||||
if (m_autoCreateClientStack)
|
||||
|
||||
Reference in New Issue
Block a user