Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating SVGLoader to handle comments #7232

Merged
merged 1 commit into from
Sep 24, 2015
Merged

Updating SVGLoader to handle comments #7232

merged 1 commit into from
Sep 24, 2015

Conversation

agnivade
Copy link
Contributor

The documentElement will always return the svg node. Otherwise it used to fail, if there was a comment node before it. Comments are commonly seen when an svg is exported from Adobe Illustrator.

The documentElement will always return the svg node. Otherwise it used to fail, if there was a comment node before it. Comments are commonly seen when an svg is exported from Adobe Illustrator.
@mrdoob
Copy link
Owner

mrdoob commented Sep 24, 2015

Good catch!

mrdoob added a commit that referenced this pull request Sep 24, 2015
Updating SVGLoader to handle comments
@mrdoob mrdoob merged commit c85e896 into mrdoob:dev Sep 24, 2015
@mrdoob
Copy link
Owner

mrdoob commented Sep 24, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants