Skip to content
Snippets Groups Projects
Commit 06ac02fc authored by simon's avatar simon
Browse files

MAINT-3981 : Notecard passed around crashes viewer when opened

parent 250db74b
No related branches found
No related tags found
No related merge requests found
...@@ -543,7 +543,7 @@ LLUIImagePtr LLEmbeddedItems::getItemImage(llwchar ext_char) const ...@@ -543,7 +543,7 @@ LLUIImagePtr LLEmbeddedItems::getItemImage(llwchar ext_char) const
case LLAssetType::AT_ANIMATION: img_name = "Inv_Animation"; break; case LLAssetType::AT_ANIMATION: img_name = "Inv_Animation"; break;
case LLAssetType::AT_GESTURE: img_name = "Inv_Gesture"; break; case LLAssetType::AT_GESTURE: img_name = "Inv_Gesture"; break;
case LLAssetType::AT_MESH: img_name = "Inv_Mesh"; break; case LLAssetType::AT_MESH: img_name = "Inv_Mesh"; break;
default: llassert(0); default: img_name = "Inv_Invalid"; break; // use the Inv_Invalid icon for undefined object types (see MAINT-3981)
} }
return LLUI::getUIImage(img_name); return LLUI::getUIImage(img_name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment