aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Servers
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Servers')
-rw-r--r--OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs b/OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs
index efd5eea..cebd471 100644
--- a/OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs
+++ b/OpenSim/Servers/Connectors/Asset/AssetServiceConnector.cs
@@ -195,7 +195,10 @@ namespace OpenSim.Servers.Connectors
195 195
196 if (newID != String.Empty) 196 if (newID != String.Empty)
197 { 197 {
198 asset.ID = newID; 198 // Placing this here, so that this work with old asset servers that don't send any reply back
199 // SynchronousRestObjectRequester returns somethins that is not an empty string
200 if (!"00000000-0000-0000-0000-000000000000".Equals(newID))
201 asset.ID = newID;
199 202
200 if (m_Cache != null) 203 if (m_Cache != null)
201 m_Cache.Cache(asset); 204 m_Cache.Cache(asset);