Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the original implementation all SVG paths are aggregated together into a single string.
In my case this resulted in problems when polygons overlap, for example in this text image:
overlaptest.svg.txt
Overlapping paths create holes in the mesh. This is some issue in svg-mesh-3d.
![hole](https://cloud.githubusercontent.com/assets/10294095/26831772/a27caf8a-4acd-11e7-9c89-b2aa8dd63ce5.png)
I've filed this as a bug: mattdesl/svg-mesh-3d#6
This branch avoids the issue by iterating over each item in the SVG and adding each individually so the element's object3d group.
I also:
thanks for your work on this valuable AFrame component