Image: Clarify color depth tooltip for EXR images

Clarify the tooltip for the half float color depth property for EXR
images to indicate that it doesn't affected data passes and that they
will still be saved as full float.
This commit is contained in:
Omar Emara 2024-06-27 14:29:44 +03:00
parent f1bfaaf2f7
commit 6f06e2258f

@ -1489,6 +1489,11 @@ static const EnumPropertyItem *rna_ImageFormatSettings_color_depth_itemf(bContex
if (is_float) {
tmp = *item_16bit;
tmp.name = "Float (Half)";
if (ELEM(imf->imtype, R_IMF_IMTYPE_OPENEXR, R_IMF_IMTYPE_MULTILAYER)) {
tmp.description =
"16-bit color channels. Data passes like Depth will still be saved using full "
"32-bit precision";
}
RNA_enum_item_add(&item, &totitem, &tmp);
}
else {