MAINT-3981 FIXED [SECURITY] Notecard being passed around that crashes any V3 based viewer when opened.
Correct fix after testing.meow-7.2.2
parent
250db74bf9
commit
403d569adc
|
|
@ -542,8 +542,8 @@ LLUIImagePtr LLEmbeddedItems::getItemImage(llwchar ext_char) const
|
|||
case LLAssetType::AT_BODYPART: img_name = "Inv_Skin"; break;
|
||||
case LLAssetType::AT_ANIMATION: img_name = "Inv_Animation"; break;
|
||||
case LLAssetType::AT_GESTURE: img_name = "Inv_Gesture"; break;
|
||||
case LLAssetType::AT_MESH: img_name = "Inv_Mesh"; break;
|
||||
default: llassert(0);
|
||||
case LLAssetType::AT_MESH: img_name = "Inv_Mesh"; break;
|
||||
default: img_name = "Inv_Invalid"; break; // use the Inv_Invalid icon for undefined object types (see MAINT-3981)
|
||||
}
|
||||
|
||||
return LLUI::getUIImage(img_name);
|
||||
|
|
|
|||
Loading…
Reference in New Issue