Skip to content

Conversation

@yomboprime
Copy link
Collaborator

Fix bug where the Z command was returning to the last point of the current path instead of the first point.

Solves #15751

To do so, the firstPoint variable is updated now in the j===0 iteration of the path points array, in every switch command case.

I also added GUI to the SVG example to easily manually switch between SVG test files.

@mrdoob mrdoob added this to the r102 milestone Feb 12, 2019
@mrdoob mrdoob merged commit 966261b into mrdoob:dev Feb 12, 2019
@mrdoob
Copy link
Owner

mrdoob commented Feb 12, 2019

Thanks!

@yomboprime yomboprime deleted the svg_hole branch February 13, 2019 23:20
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