add support for multiple attachments

This commit is contained in:
Madpeter 2023-12-03 22:26:15 +00:00
parent 3cb9b794a5
commit b64aec531e
2 changed files with 5 additions and 1 deletions

View file

@ -2403,6 +2403,10 @@ namespace OpenMetaverse
KeyValuePair<string, List<InventoryBase>> reply = Client.Inventory.FolderContentsWithReply(folder, Client.Self.AgentID, true, true, InventorySortOrder.ByName, INVENTORY_TIMEOUT, false);
foreach(InventoryBase entry in reply.Value)
{
if(entry == null)
{
continue;
}
if(entry is InventoryWearable wearable)
{
Logger.DebugLog("Adding wearable " + wearable.Name, Client);

View file

@ -338,7 +338,7 @@ namespace OpenMetaverse
/// You will get no output on the console. This behavior can be overriden by creating
/// a logger configuration file for log4net
/// </summary>
public static Helpers.LogLevel LOG_LEVEL = Helpers.LogLevel.Debug;
public static Helpers.LogLevel LOG_LEVEL = Helpers.LogLevel.None;
/// <summary>Attach avatar names to log messages</summary>
public bool LOG_NAMES = true;