diff options
Diffstat (limited to 'OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs')
-rw-r--r-- | OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs b/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs index 849cad2..515637e 100644 --- a/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs +++ b/OpenSim/Capabilities/Handlers/WebFetchInventoryDescendents/WebFetchInvDescHandler.cs | |||
@@ -393,12 +393,8 @@ namespace OpenSim.Capabilities.Handlers | |||
393 | llsdFolder.folder_id = invFolder.ID; | 393 | llsdFolder.folder_id = invFolder.ID; |
394 | llsdFolder.parent_id = invFolder.ParentID; | 394 | llsdFolder.parent_id = invFolder.ParentID; |
395 | llsdFolder.name = invFolder.Name; | 395 | llsdFolder.name = invFolder.Name; |
396 | 396 | llsdFolder.type = invFolder.Type; | |
397 | if (invFolder.Type == (short)AssetType.Unknown || !Enum.IsDefined(typeof(AssetType), (sbyte)invFolder.Type)) | 397 | llsdFolder.preferred_type = -1; |
398 | llsdFolder.type = "-1"; | ||
399 | else | ||
400 | llsdFolder.type = Utils.AssetTypeToString((AssetType)invFolder.Type); | ||
401 | llsdFolder.preferred_type = "-1"; | ||
402 | 398 | ||
403 | return llsdFolder; | 399 | return llsdFolder; |
404 | } | 400 | } |