mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
bug fix
This commit is contained in:
@@ -830,7 +830,8 @@ namespace OpenSim.Region.ClientStack.Linden
|
||||
List<UUID> textures = new List<UUID>();
|
||||
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user