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.
parent
19fe9a0208
commit
d34ee746e7
|
@ -96,6 +96,7 @@ namespace OpenSim.Grid.AssetServer
|
||||||
|
|
||||||
MainLog.Instance.Verbose("REST", "StoreAndCommitAsset {0}", asset.FullID);
|
MainLog.Instance.Verbose("REST", "StoreAndCommitAsset {0}", asset.FullID);
|
||||||
m_assetProvider.CreateAsset(asset);
|
m_assetProvider.CreateAsset(asset);
|
||||||
|
m_assetProvider.CommitAssets();
|
||||||
|
|
||||||
return new byte[] {};
|
return new byte[] {};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue