aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs5
1 files changed, 3 insertions, 2 deletions
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
830 List<UUID> textures = new List<UUID>(); 830 List<UUID> textures = new List<UUID>();
831 831
832 832
833 if (doTextInv) 833// if (doTextInv)
834 if (doTextInv || avatarSkeleton)
834 m_Scene.TryGetClient(m_HostCapsObj.AgentID, out client); 835 m_Scene.TryGetClient(m_HostCapsObj.AgentID, out client);
835 836
836 if(client == null) // don't put textures in inventory if there is no client 837 if(client == null) // don't put textures in inventory if there is no client
@@ -903,7 +904,7 @@ namespace OpenSim.Region.ClientStack.Linden
903 904
904 905
905 // test code 906 // test code
906 if (avatarSkeleton) 907 if (avatarSkeleton && client != null)
907 { 908 {
908 string name = assetName; 909 string name = assetName;
909 if (name.Length > 25) 910 if (name.Length > 25)