diff options
author | IRIE Shinsuke <irieshinsuke@yahoo.co.jp> | 2014-03-31 09:20:55 +0400 |
---|---|---|
committer | IRIE Shinsuke <irieshinsuke@yahoo.co.jp> | 2014-03-31 12:37:55 +0400 |
commit | 6316306cc07c77d4cf6fff52bc8a35ba102b8f56 (patch) | |
tree | 39e114bac8220770be52ca1078a0d4318ad82b92 /source/blender/editors/space_image/image_buttons.c | |
parent | 2fc7d04804fc9411647466d6765e2716e56a9cc8 (diff) |
Fix bug in image texture UI: "Use Alpha" checkbox doesn't appear if file format is BMP.
Diffstat (limited to 'source/blender/editors/space_image/image_buttons.c')
-rw-r--r-- | source/blender/editors/space_image/image_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c index 21f54a86df4..f88cdaf6713 100644 --- a/source/blender/editors/space_image/image_buttons.c +++ b/source/blender/editors/space_image/image_buttons.c @@ -753,7 +753,7 @@ void uiTemplateImage(uiLayout *layout, bContext *C, PointerRNA *ptr, const char if (ibuf) { int imtype = BKE_ftype_to_imtype(ibuf->ftype); - char valid_channels = BKE_imtype_valid_channels(imtype); + char valid_channels = BKE_imtype_valid_channels(imtype, false); has_alpha = (valid_channels & IMA_CHAN_FLAG_ALPHA) != 0; |