Skip to content

Conversation

@git-mormot
Copy link
Contributor

@git-mormot git-mormot commented Jun 14, 2018

Fixes #14285


var curve = curves[ i ];
var resolution = ( curve && curve.isEllipseCurve ) ? divisions * 2
: ( curve && curve.isLineCurve ) ? 1
Copy link
Collaborator

@Mugen87 Mugen87 Jun 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not

: ( curve && ( curve.isLineCurve || curve.isLineCurve3 ) ) ? 1

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh its better. I will change it again.

@mrdoob mrdoob added this to the r94 milestone Jun 14, 2018
@mrdoob mrdoob merged commit 4672008 into mrdoob:dev Jun 15, 2018
@mrdoob
Copy link
Owner

mrdoob commented Jun 15, 2018

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.

3 participants