Skip to content

Conversation

techninja
Copy link
Contributor

Apparently when setting a value on a compound path, it does not set the value on any of its children, so only the very first compound path child in nothing.svg was being correctly recognized, but as soon as it finished, it couldn't read the data that simply wasn't there. To compound issues, you also can't read the length of a compound path. So I've built two new recursive util functions to allow for setting any path value on a compound path/group and all its children, and to do the same for checking the length.

...at this point I'm suspecting that if you have a compound path with more than one color, it will not be correctly parsed.. but hey, incremental improvements, right? 😜

@techninja techninja merged commit f6319b4 into master Jun 15, 2016
@techninja techninja deleted the tracing-fix branch June 15, 2016 16:36
@techninja
Copy link
Contributor Author

Taking your word for it that this fixes the rest of the tracing issues :)

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