add a IAssetProvider.CommitAssets() call to the grid asset server, when a asset is uploaded to it. Don't think the MySql provider needs this call but the Sql provider does else the assets don't get written out to the database file.

afrisby
MW 2007-11-04 10:46:05 +00:00
parent 19fe9a0208
commit d34ee746e7
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ namespace OpenSim.Grid.AssetServer
MainLog.Instance.Verbose("REST", "StoreAndCommitAsset {0}", asset.FullID);
m_assetProvider.CreateAsset(asset);
m_assetProvider.CommitAssets();
return new byte[] {};
}