[gimp] plug-ins: don't add alpha to all but the loaded tiff's background layer
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: don't add alpha to all but the loaded tiff's background layer
- Date: Sun, 13 Sep 2015 18:14:59 +0000 (UTC)
commit 9a1f94e9b291089117fe83c14cd94788a5beb5e3
Author: Michael Natterer <mitch gimp org>
Date: Sun Sep 13 20:14:22 2015 +0200
plug-ins: don't add alpha to all but the loaded tiff's background layer
That's not needed any longer.
plug-ins/common/file-tiff-load.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c
index 29c769c..fa729f8 100644
--- a/plug-ins/common/file-tiff-load.c
+++ b/plug-ins/common/file-tiff-load.c
@@ -1265,9 +1265,6 @@ load_image (const gchar *filename,
layer_offset_x_pixel, layer_offset_y_pixel);
}
- if (ilayer > 0 && ! alpha)
- gimp_layer_add_alpha (layer);
-
gimp_image_insert_layer (image, layer, -1, -1);
if (target == GIMP_PAGE_SELECTOR_TARGET_IMAGES)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]