summaryrefslogtreecommitdiffstats
path: root/plug-ins/file-psd
diff options
context:
space:
mode:
Diffstat (limited to 'plug-ins/file-psd')
-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;