diff options
author | Mike Mazur | 2009-02-17 01:36:44 +0000 |
---|---|---|
committer | Mike Mazur | 2009-02-17 01:36:44 +0000 |
commit | 76c0935ec744f2d230489398f879eb7f42b11d37 (patch) | |
tree | a68253554e3899f10b6c341db369ce4a029dfaa5 /OpenSim/Grid/AssetServer/RestService.cs | |
parent | Major change to how appearance is managed, including changes in login and use... (diff) | |
download | opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.zip opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.tar.gz opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.tar.bz2 opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.tar.xz |
- remove the Metadata property from AssetBase and return all previous
properties as before
- prefix private variables with m_ in AssetBase.cs
- related to Mantis #3122, as mentioned in
https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html
- all services will likely need to be upgraded after this commit
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Grid/AssetServer/RestService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Grid/AssetServer/RestService.cs b/OpenSim/Grid/AssetServer/RestService.cs index ba62c55..1e01c44 100644 --- a/OpenSim/Grid/AssetServer/RestService.cs +++ b/OpenSim/Grid/AssetServer/RestService.cs | |||
@@ -140,7 +140,7 @@ namespace OpenSim.Grid.AssetServer | |||
140 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); | 140 | XmlSerializer xs = new XmlSerializer(typeof (AssetBase)); |
141 | AssetBase asset = (AssetBase) xs.Deserialize(request); | 141 | AssetBase asset = (AssetBase) xs.Deserialize(request); |
142 | 142 | ||
143 | m_log.InfoFormat("[REST]: Creating asset {0}", asset.Metadata.FullID); | 143 | m_log.InfoFormat("[REST]: Creating asset {0}", asset.FullID); |
144 | m_assetProvider.CreateAsset(asset); | 144 | m_assetProvider.CreateAsset(asset); |
145 | 145 | ||
146 | return new byte[] {}; | 146 | return new byte[] {}; |