From d34ee746e7a9853c3d7f971a7deee3407c620fc9 Mon Sep 17 00:00:00 2001 From: MW Date: Sun, 4 Nov 2007 10:46:05 +0000 Subject: [PATCH] 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. --- OpenSim/Grid/AssetServer/RestService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Grid/AssetServer/RestService.cs b/OpenSim/Grid/AssetServer/RestService.cs index b13d8ea558..4ed1e67f65 100644 --- a/OpenSim/Grid/AssetServer/RestService.cs +++ b/OpenSim/Grid/AssetServer/RestService.cs @@ -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[] {}; }