avinationmerge
UbitUmarov 2014-10-11 10:22:57 +01:00
parent 1a6ef2d60e
commit dab2e778d6
1 changed files with 3 additions and 2 deletions

View File

@ -830,7 +830,8 @@ namespace OpenSim.Region.ClientStack.Linden
List<UUID> textures = new List<UUID>(); List<UUID> textures = new List<UUID>();
if (doTextInv) // if (doTextInv)
if (doTextInv || avatarSkeleton)
m_Scene.TryGetClient(m_HostCapsObj.AgentID, out client); m_Scene.TryGetClient(m_HostCapsObj.AgentID, out client);
if(client == null) // don't put textures in inventory if there is no 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 // test code
if (avatarSkeleton) if (avatarSkeleton && client != null)
{ {
string name = assetName; string name = assetName;
if (name.Length > 25) if (name.Length > 25)