From 839c46e19ac4aa00b619a185ad48ee977162ef2c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 8 May 2024 10:16:47 +0200 Subject: Merging upstream version 2.10.38. Signed-off-by: Daniel Baumann --- plug-ins/file-psd/psd-load.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'plug-ins/file-psd') diff --git a/plug-ins/file-psd/psd-load.c b/plug-ins/file-psd/psd-load.c index b03f8cf..54b72d1 100644 --- a/plug-ins/file-psd/psd-load.c +++ b/plug-ins/file-psd/psd-load.c @@ -1330,7 +1330,15 @@ add_layers (gint32 image_id, */ if (lidx > 0) { - if (gidx == -1) + if (lyr_a[lidx]->group_type != 0) + { + /* Ignoring group layers with clipping set for now. */ + IFDBG(3) g_debug ("Group Layer with clipping: [%d] %s", + lidx, lyr_a[lidx]->name); + use_clipping_group = FALSE; + gidx = -1; + } + else if (gidx == -1) { use_clipping_group = TRUE; -- cgit v1.2.3