* Fixed bug reported by xyzo - region assets are now stored in "regionassets.yap", asset server assets are now in "gridassets.yap"
parent
a076369fa3
commit
41cd6cdfdd
|
@ -154,10 +154,10 @@ namespace OpenSim.Grid.AssetServer
|
|||
|
||||
public void setupDB()
|
||||
{
|
||||
bool yapfile = File.Exists("assets.yap");
|
||||
bool yapfile = File.Exists("gridassets.yap");
|
||||
try
|
||||
{
|
||||
db = Db4oFactory.OpenFile("assets.yap");
|
||||
db = Db4oFactory.OpenFile("gridassets.yap");
|
||||
MainLog.Instance.Verbose("Main.cs:setupDB() - creation");
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
|
@ -62,12 +62,12 @@ namespace OpenSim.Region.GridInterfaces.Local
|
|||
{
|
||||
bool yapfile;
|
||||
this._assetRequests = new BlockingQueue<ARequest>();
|
||||
yapfile = File.Exists("assets.yap");
|
||||
yapfile = File.Exists("regionassets.yap");
|
||||
|
||||
MainLog.Instance.Verbose( "Local Asset Server class created");
|
||||
try
|
||||
{
|
||||
db = Db4oFactory.OpenFile("assets.yap");
|
||||
db = Db4oFactory.OpenFile("regionassets.yap");
|
||||
MainLog.Instance.Verbose( "Db4 Asset database creation");
|
||||
}
|
||||
catch (Exception e)
|
||||
|
|
Loading…
Reference in New Issue