From 74b58b7b3c6da28f8d069cb4e411e301c56b84ea Mon Sep 17 00:00:00 2001 From: Aleric Inglewood Date: Sat, 14 May 2011 02:33:11 +0200 Subject: [PATCH] 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. --- indra/newview/llviewertexteditor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/indra/newview/llviewertexteditor.cpp b/indra/newview/llviewertexteditor.cpp index 2055f54b2..a2baf176e 100644 --- a/indra/newview/llviewertexteditor.cpp +++ b/indra/newview/llviewertexteditor.cpp @@ -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) {