From a372d7c6a2e44445d69861679330c463143bd6db Mon Sep 17 00:00:00 2001 From: "Douglas R. Miles" Date: Wed, 30 May 2012 16:46:11 -0700 Subject: [PATCH] InventoryNodes are now sortable in their trees - w/o a nre --- OpenMetaverse/InventoryNodeDictionary.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenMetaverse/InventoryNodeDictionary.cs b/OpenMetaverse/InventoryNodeDictionary.cs index b12033a4..85720dc1 100644 --- a/OpenMetaverse/InventoryNodeDictionary.cs +++ b/OpenMetaverse/InventoryNodeDictionary.cs @@ -105,7 +105,7 @@ namespace OpenMetaverse lock (syncRoot) { Dictionary[key] = value; - this.SDictionary[key] = value; + if (Settings.SORT_INVENTORY) this.SDictionary[key] = value; } } } @@ -133,7 +133,7 @@ namespace OpenMetaverse lock (syncRoot) { Dictionary[key] = value; - this.SDictionary.Add(key, value); + if (Settings.SORT_INVENTORY) this.SDictionary.Add(key, value); } }