diff options
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.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Grid/AssetServer/RestService.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Grid/AssetServer/RestService.cs b/OpenSim/Grid/AssetServer/RestService.cs index b13d8ea..4ed1e67 100644 --- a/OpenSim/Grid/AssetServer/RestService.cs +++ b/OpenSim/Grid/AssetServer/RestService.cs | |||
@@ -96,6 +96,7 @@ namespace OpenSim.Grid.AssetServer | |||
96 | 96 | ||
97 | MainLog.Instance.Verbose("REST", "StoreAndCommitAsset {0}", asset.FullID); | 97 | MainLog.Instance.Verbose("REST", "StoreAndCommitAsset {0}", asset.FullID); |
98 | m_assetProvider.CreateAsset(asset); | 98 | m_assetProvider.CreateAsset(asset); |
99 | m_assetProvider.CommitAssets(); | ||
99 | 100 | ||
100 | return new byte[] {}; | 101 | return new byte[] {}; |
101 | } | 102 | } |