From dd55a3d19c323cbe32d0c06461a34e7761844d56 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 14 May 2020 11:51:57 +0100 Subject: [PATCH] fix a bug on part inventory locking --- OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 28df2fa363..50076f0fbd 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs @@ -782,7 +782,7 @@ namespace OpenSim.Region.Framework.Scenes m_items.LockItemsForRead(true); if (m_scripts == null || m_scripts.Count == 0) { - m_items.LockItemsForWrite(false); + m_items.LockItemsForRead(false); return; }