diff options
author | Justin Clark-Casey (justincc) | 2011-11-25 21:54:31 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-25 21:54:31 +0000 |
commit | 8c82ff16ad07635b9bf1ccebd8ecc52c2aadf751 (patch) | |
tree | 5aa4f30e6ba0e757fd97725c4312880452ac1238 /OpenSim/Region/ClientStack/Linden | |
parent | Adding missing CrossBehaviour.cs file to fix build (diff) | |
download | opensim-SC_OLD-8c82ff16ad07635b9bf1ccebd8ecc52c2aadf751.zip opensim-SC_OLD-8c82ff16ad07635b9bf1ccebd8ecc52c2aadf751.tar.gz opensim-SC_OLD-8c82ff16ad07635b9bf1ccebd8ecc52c2aadf751.tar.bz2 opensim-SC_OLD-8c82ff16ad07635b9bf1ccebd8ecc52c2aadf751.tar.xz |
Fix WebFetchInventoryDescendents cap to use Utils.AssetTypeTostring/InventoryTypeToString to convert types to strings
These cover a wider range of types.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs index 94629a2..1c1d83c 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/WebFetchInvDescModule.cs | |||
@@ -122,11 +122,13 @@ namespace OpenSim.Region.ClientStack.Linden | |||
122 | WebFetchInvDescHandler webFetchHandler = new WebFetchInvDescHandler(m_InventoryService, m_LibraryService); | 122 | WebFetchInvDescHandler webFetchHandler = new WebFetchInvDescHandler(m_InventoryService, m_LibraryService); |
123 | IRequestHandler reqHandler = new RestStreamHandler("POST", "/CAPS/" + UUID.Random(), webFetchHandler.FetchInventoryDescendentsRequest); | 123 | IRequestHandler reqHandler = new RestStreamHandler("POST", "/CAPS/" + UUID.Random(), webFetchHandler.FetchInventoryDescendentsRequest); |
124 | caps.RegisterHandler("WebFetchInventoryDescendents", reqHandler); | 124 | caps.RegisterHandler("WebFetchInventoryDescendents", reqHandler); |
125 | // caps.RegisterHandler("FetchInventoryDescendents2", reqHandler); | ||
125 | } | 126 | } |
126 | else | 127 | else |
127 | { | 128 | { |
128 | m_log.InfoFormat("[WEBFETCHINVENTORYDESCENDANTS]: {0} in region {1}", m_URL, m_scene.RegionInfo.RegionName); | 129 | m_log.InfoFormat("[WEBFETCHINVENTORYDESCENDANTS]: {0} in region {1}", m_URL, m_scene.RegionInfo.RegionName); |
129 | caps.RegisterHandler("WebFetchInventoryDescendents", m_URL); | 130 | caps.RegisterHandler("WebFetchInventoryDescendents", m_URL); |
131 | // caps.RegisterHandler("FetchInventoryDescendents2", m_URL); | ||
130 | } | 132 | } |
131 | } | 133 | } |
132 | 134 | ||