Skip to content

Commit 286633d

Browse files
committed
fix(CliClosedSurface): Fix vtkCCSMakePolysFromLines
vtkCCSMakePolysFromLines was not joining line segments.
1 parent 9eff1cd commit 286633d

File tree

1 file changed

+1
-1
lines changed
  • Sources/Filters/General/ContourTriangulator

1 file changed

+1
-1
lines changed

Sources/Filters/General/ContourTriangulator/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ export function vtkCCSMakePolysFromLines(
463463
}
464464
}
465465

466-
if (!matches.length === 0) {
466+
if (matches.length > 0) {
467467
// Multiple matches mean we need to decide which path to take
468468
if (matches.length > 1) {
469469
// Remove double-backs

0 commit comments

Comments
 (0)