File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -887,7 +887,7 @@ class Renderer2D extends p5.Renderer {
887
887
}
888
888
let i , j ;
889
889
const numVerts = vertices . length ;
890
- if ( isCurve && ( shapeKind === constants . POLYGON || shapeKind === null ) ) {
890
+ if ( isCurve && shapeKind === null ) {
891
891
if ( numVerts > 3 ) {
892
892
const b = [ ] ,
893
893
s = 1 - this . _curveTightness ;
@@ -923,7 +923,7 @@ class Renderer2D extends p5.Renderer {
923
923
}
924
924
} else if (
925
925
isBezier &&
926
- ( shapeKind === constants . POLYGON || shapeKind === null )
926
+ shapeKind === null
927
927
) {
928
928
if ( ! this . _clipping ) this . drawingContext . beginPath ( ) ;
929
929
for ( i = 0 ; i < numVerts ; i ++ ) {
@@ -947,7 +947,7 @@ class Renderer2D extends p5.Renderer {
947
947
this . _doFillStrokeClose ( closeShape ) ;
948
948
} else if (
949
949
isQuadratic &&
950
- ( shapeKind === constants . POLYGON || shapeKind === null )
950
+ shapeKind === null
951
951
) {
952
952
if ( ! this . _clipping ) this . drawingContext . beginPath ( ) ;
953
953
for ( i = 0 ; i < numVerts ; i ++ ) {
You can’t perform that action at this time.
0 commit comments