diff options
Diffstat (limited to 'source/blender/editors/space_image/image_buttons.c')
-rw-r--r-- | source/blender/editors/space_image/image_buttons.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index bc367a99d6b..98e555c7f77 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -974,8 +974,16 @@ void uiTemplateImageSettings(uiLayout *layout, PointerRNA *imfptr, bool color_ma uiLayoutSetPropDecorate(col, false); uiItemR(col, imfptr, "file_format", 0, NULL, ICON_NONE); - uiItemR( - uiLayoutRow(col, true), imfptr, "color_mode", UI_ITEM_R_EXPAND, IFACE_("Color"), ICON_NONE); + + /* Multi-layer always saves raw unmodified channels. */ + if (imf->imtype != R_IMF_IMTYPE_MULTILAYER) { + uiItemR(uiLayoutRow(col, true), + imfptr, + "color_mode", + UI_ITEM_R_EXPAND, + IFACE_("Color"), + ICON_NONE); + } /* only display depth setting if multiple depths can be used */ if (ELEM(depth_ok, |