add support for multiple attachments
This commit is contained in:
parent
3cb9b794a5
commit
b64aec531e
2 changed files with 5 additions and 1 deletions
|
|
@ -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);
|
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)
|
foreach(InventoryBase entry in reply.Value)
|
||||||
{
|
{
|
||||||
|
if(entry == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if(entry is InventoryWearable wearable)
|
if(entry is InventoryWearable wearable)
|
||||||
{
|
{
|
||||||
Logger.DebugLog("Adding wearable " + wearable.Name, Client);
|
Logger.DebugLog("Adding wearable " + wearable.Name, Client);
|
||||||
|
|
|
||||||
|
|
@ -338,7 +338,7 @@ namespace OpenMetaverse
|
||||||
/// You will get no output on the console. This behavior can be overriden by creating
|
/// You will get no output on the console. This behavior can be overriden by creating
|
||||||
/// a logger configuration file for log4net
|
/// a logger configuration file for log4net
|
||||||
/// </summary>
|
/// </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>
|
/// <summary>Attach avatar names to log messages</summary>
|
||||||
public bool LOG_NAMES = true;
|
public bool LOG_NAMES = true;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue