Skip to content

Library doesn't allow nesting of more than 5 groups #10

@GoogleCodeExporter

Description

@GoogleCodeExporter
Hi there,

I am using this library to write my thesis that makes PSD files to HTML 
automatically. I found it very helpful and it it very well written. There is 
one problem I can't seem to fix myself:

Photoshop before CS5 allowed nesting of 5 groups, but CS5 and higher allows 10 
groups nesting. But whenever I nest 6 groups in each other I get this exception:

java.util.NoSuchElementException
    at java.util.LinkedList.remove(LinkedList.java:788)
    at java.util.LinkedList.removeFirst(LinkedList.java:134)
    at psd.model.Psd.makeLayersHierarchy(Psd.java:93)
    at psd.model.Psd.<init>(Psd.java:70)

Do you have any idea what I need to change to get deeper nesting working?

Original issue reported on code.google.com by alex.n...@gmail.com on 29 Apr 2012 at 1:28

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions