file-exr: Fix loading of Fog.exr from openexr-images-1.7.0

This commit is contained in:
Mukund Sivaraman 2013-05-07 11:47:01 +05:30
parent 8940b25c6d
commit 7946001235
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ load_image (const gchar *filename,
layer_type = has_alpha ? GIMP_RGBA_IMAGE : GIMP_RGB_IMAGE;
break;
case IMAGE_TYPE_GRAY:
image_precision = GIMP_GRAY;
image_type = GIMP_GRAY;
layer_type = has_alpha ? GIMP_GRAYA_IMAGE : GIMP_GRAY_IMAGE;
break;
default: