summaryrefslogtreecommitdiffstats
path: root/plug-ins/file-psd/psd-load.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-08 08:16:47 +0000
commit74f0d9eb037dc24bdfd1f0f325e483e380451d32 (patch)
treefaaaf44f426c20626c05034846c0b481c0e54983 /plug-ins/file-psd/psd-load.c
parentAdding upstream version 2.10.36. (diff)
downloadgimp-upstream.tar.xz
gimp-upstream.zip
Adding upstream version 2.10.38.upstream/2.10.38upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plug-ins/file-psd/psd-load.c')
-rw-r--r--plug-ins/file-psd/psd-load.c10
1 files changed, 9 insertions, 1 deletions
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;