diff options
author | sacha | 2010-12-23 08:14:43 +0000 |
---|---|---|
committer | sacha | 2010-12-23 08:14:43 +0000 |
commit | 98f0b4c72ad208e9f664d30bb6a84e0b2adf8214 (patch) | |
tree | fdf6001af7f458fed5bf6f18df9be1882eb193d4 /OpenSim/Framework/Capabilities/Caps.cs | |
parent | reactivating some traces to track a dead thread (diff) | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.zip opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.tar.gz opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.tar.bz2 opensim-SC-98f0b4c72ad208e9f664d30bb6a84e0b2adf8214.tar.xz |
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Framework/Capabilities/Caps.cs')
-rw-r--r-- | OpenSim/Framework/Capabilities/Caps.cs | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/OpenSim/Framework/Capabilities/Caps.cs b/OpenSim/Framework/Capabilities/Caps.cs index 5937ae6..dbb0781 100644 --- a/OpenSim/Framework/Capabilities/Caps.cs +++ b/OpenSim/Framework/Capabilities/Caps.cs | |||
@@ -1344,7 +1344,11 @@ namespace OpenSim.Framework.Capabilities | |||
1344 | /// <returns></returns> | 1344 | /// <returns></returns> |
1345 | public string uploaderCaps(byte[] data, string path, string param) | 1345 | public string uploaderCaps(byte[] data, string path, string param) |
1346 | { | 1346 | { |
1347 | m_log.WarnFormat("[CAPS] baked texture upload completed for {0}",newAssetID); | 1347 | handlerUpLoad = OnUpLoad; |
1348 | if (handlerUpLoad != null) | ||
1349 | { | ||
1350 | Util.FireAndForget(delegate(object o) { handlerUpLoad(newAssetID, data); }); | ||
1351 | } | ||
1348 | 1352 | ||
1349 | string res = String.Empty; | 1353 | string res = String.Empty; |
1350 | LLSDAssetUploadComplete uploadComplete = new LLSDAssetUploadComplete(); | 1354 | LLSDAssetUploadComplete uploadComplete = new LLSDAssetUploadComplete(); |
@@ -1356,12 +1360,6 @@ namespace OpenSim.Framework.Capabilities | |||
1356 | 1360 | ||
1357 | httpListener.RemoveStreamHandler("POST", uploaderPath); | 1361 | httpListener.RemoveStreamHandler("POST", uploaderPath); |
1358 | 1362 | ||
1359 | handlerUpLoad = OnUpLoad; | ||
1360 | if (handlerUpLoad != null) | ||
1361 | { | ||
1362 | handlerUpLoad(newAssetID, data); | ||
1363 | } | ||
1364 | |||
1365 | m_log.InfoFormat("[CAPS] baked texture upload completed for {0}",newAssetID); | 1363 | m_log.InfoFormat("[CAPS] baked texture upload completed for {0}",newAssetID); |
1366 | 1364 | ||
1367 | return res; | 1365 | return res; |