From dab2e778d6a9d11cce48161d045598a56e7de952 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 11 Oct 2014 10:22:57 +0100 Subject: bug fix --- OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/ClientStack/Linden/Caps') diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 3a070c3..133a629 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs @@ -830,7 +830,8 @@ namespace OpenSim.Region.ClientStack.Linden List textures = new List(); - if (doTextInv) +// if (doTextInv) + if (doTextInv || avatarSkeleton) m_Scene.TryGetClient(m_HostCapsObj.AgentID, out client); if(client == null) // don't put textures in inventory if there is no client @@ -903,7 +904,7 @@ namespace OpenSim.Region.ClientStack.Linden // test code - if (avatarSkeleton) + if (avatarSkeleton && client != null) { string name = assetName; if (name.Length > 25) -- cgit v1.1