mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
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.
This commit is contained in:
@@ -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[] {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user