[gimp/soc-2011-seamless-clone2] file-exr: Fix loading of Fog.exr from openexr-images-1.7.0
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] file-exr: Fix loading of Fog.exr from openexr-images-1.7.0
- Date: Wed, 8 May 2013 15:23:07 +0000 (UTC)
commit 6cf19f5e5aa9ba594a88516f51b7272df116cb73
Author: Mukund Sivaraman <muks banu com>
Date: Tue May 7 11:47:01 2013 +0530
file-exr: Fix loading of Fog.exr from openexr-images-1.7.0
plug-ins/file-exr/file-exr.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-exr/file-exr.c b/plug-ins/file-exr/file-exr.c
index 25007e9..2f420a6 100644
--- a/plug-ins/file-exr/file-exr.c
+++ b/plug-ins/file-exr/file-exr.c
@@ -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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]