* Introduce a new "default" option for asset_database in the [STORAGE] section

* This option makes OpenSim use the usual db based asset service in standalone, and the grid based one in grid mode
* The other options can (local, grid, etc) can still be used explicitly as before
* Also change OpenSim.ini.example and the surrounding explanative text
This commit is contained in:
Justin Clarke Casey
2009-02-04 18:56:12 +00:00
parent 3206f70cd9
commit a1da605706
5 changed files with 19 additions and 4 deletions

View File

@@ -43,6 +43,7 @@ namespace OpenSim.Framework.Communications.Cache
}
m_dir = dir;
}
public override void StoreAsset(AssetBase asset)
{
byte[] idBytes = asset.Metadata.FullID.Guid.ToByteArray();