From 1f7286fb9529bb6756d19424f3f95154e04e7d7d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 28 Apr 2020 15:53:50 +0100 Subject: [PATCH] do things in the right order --- .../Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index d839cc4fb1..6a1edb5d51 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs @@ -216,13 +216,13 @@ namespace OpenSim.Region.ClientStack.Linden else m_scopeID = account.ScopeID; - RegisterHandlers(); - AddNewInventoryItem = m_Scene.AddUploadedInventoryItem; ItemUpdatedCall = m_Scene.CapsUpdateItemAsset; TaskScriptUpdatedCall = m_Scene.CapsUpdateTaskInventoryScriptAsset; GetClient = m_Scene.SceneGraph.GetControllingClient; + RegisterHandlers(); + m_FileAgentInventoryState = FileAgentInventoryState.idle; }