Dumb mistake - forgot to assign the datastore variable
parent
6ce5b6e439
commit
fadb4a9dcc
|
@ -170,6 +170,8 @@ namespace OpenSim
|
||||||
this.physManager = new OpenSim.Physics.Manager.PhysicsManager();
|
this.physManager = new OpenSim.Physics.Manager.PhysicsManager();
|
||||||
this.physManager.LoadPlugins();
|
this.physManager.LoadPlugins();
|
||||||
|
|
||||||
|
LocalWorld.m_datastore = this.regionData.DataStore;
|
||||||
|
|
||||||
LocalWorld.LoadStorageDLL("OpenSim.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded.
|
LocalWorld.LoadStorageDLL("OpenSim.Storage.LocalStorageDb4o.dll"); //all these dll names shouldn't be hard coded.
|
||||||
LocalWorld.LoadWorldMap();
|
LocalWorld.LoadWorldMap();
|
||||||
|
|
||||||
|
|
|
@ -50,6 +50,7 @@ namespace OpenSim.Storage.LocalStorageDb4o
|
||||||
|
|
||||||
public void Initialise(string dfile)
|
public void Initialise(string dfile)
|
||||||
{
|
{
|
||||||
|
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Db4LocalStorage Opening " + dfile);
|
||||||
datastore = dfile;
|
datastore = dfile;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
@ -70,7 +70,7 @@ namespace OpenSim
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
Console.WriteLine("-config: Please specify a config file.");
|
Console.WriteLine("-config: Please specify a config file. (" + e.ToString() + ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue