Skip to content
Browse files

InventoryNodes are now sortable in their trees - w/o a nre

  • Loading branch information...
1 parent d97e03d commit a372d7c6a2e44445d69861679330c463143bd6db @logicmoo logicmoo committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 OpenMetaverse/InventoryNodeDictionary.cs
View
4 OpenMetaverse/InventoryNodeDictionary.cs
@@ -105,7 +105,7 @@ public InventoryNodeDictionary(InventoryNode parentNode)
lock (syncRoot)
{
Dictionary[key] = value;
- this.SDictionary[key] = value;
+ if (Settings.SORT_INVENTORY) this.SDictionary[key] = value;
}
}
}
@@ -133,7 +133,7 @@ public void Add(UUID key, InventoryNode value)
lock (syncRoot)
{
Dictionary[key] = value;
- this.SDictionary.Add(key, value);
+ if (Settings.SORT_INVENTORY) this.SDictionary.Add(key, value);
}
}

0 comments on commit a372d7c

Please sign in to comment.
Something went wrong with that request. Please try again.