Merge branch 'DRTVWR-501-maint' of https://bitbucket.org/lindenlab/viewer

master
Ansariel 2020-05-04 21:00:08 +02:00
commit 66523963fd
3 changed files with 6 additions and 3 deletions

View File

@ -1092,6 +1092,7 @@ Nicky Dasmijn
SL-10293
SL-11061
SL-11072
SL-13141
Nicky Perian
OPEN-1
STORM-1087

View File

@ -4953,7 +4953,7 @@ LLViewerTexture* LLViewerObject::getBakedTextureForMagicId(const LLUUID& id)
}
LLVOAvatar* avatar = getAvatar();
if (avatar)
if (avatar && isRiggedMesh() && !isHUDAttachment())
{
LLAvatarAppearanceDefines::EBakedTextureIndex texIndex = LLAvatarAppearanceDefines::LLAvatarAppearanceDictionary::assetIdToBakedTextureIndex(id);
LLViewerTexture* bakedTexture = avatar->getBakedTexture(texIndex);

View File

@ -277,8 +277,10 @@ void LLVOVolume::markDead()
{
if (!mDead)
{
if( getVolume() ) // <FS:ND/> Check for corrupted volume.
LLSculptIDSize::instance().rem(getVolume()->getParams().getSculptID());
if (getVolume())
{
LLSculptIDSize::instance().rem(getVolume()->getParams().getSculptID());
}
if(getMDCImplCount() > 0)
{