[gimp/blend-tool-fun: 47/163] plug-ins: don't add alpha to all but the loaded tiff's background layer
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/blend-tool-fun: 47/163] plug-ins: don't add alpha to all but the loaded tiff's background layer
- Date: Mon, 26 Oct 2015 02:22:09 +0000 (UTC)
commit 4e0350887176ae0801c573b44a50a6f7af757f10
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]