Stop the viewer from crashing when someone puts a callingcard in a notecard.
This crashed me (on imprudence) because someone gave me a notecard with a calling card in it.
This commit is contained in:
@@ -416,6 +416,7 @@ void LLEmbeddedItems::bindEmbeddedChars( const LLFontGL* font ) const
|
||||
|
||||
break;
|
||||
case LLAssetType::AT_SOUND: img_name = "inv_item_sound.tga"; break;
|
||||
case LLAssetType::AT_CALLINGCARD: img_name = "inv_item_callingcard_online.tga"; break;
|
||||
case LLAssetType::AT_LANDMARK:
|
||||
if (item->getFlags() & LLInventoryItemFlags::II_FLAGS_LANDMARK_VISITED)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user