We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c01212 commit a31fa48Copy full SHA for a31fa48
Sources/Filters/General/ContourTriangulator/helper.js
@@ -1775,10 +1775,9 @@ export function vtkCCSFindCuts(
1775
1776
// Search for potential cuts (need to find two cuts)
1777
let cutId = 0;
1778
- cuts[0][0] = 0;
1779
- cuts[0][1] = 0;
1780
- cuts[1][0] = 0;
1781
- cuts[1][1] = 0;
+ // Initialize cuts as a 2D array with two elements
+ cuts[0] = [0, 0];
+ cuts[1] = [0, 0];
1782
1783
let foundCut = false;
1784
for (cutId = 0; cutId < 2; cutId++) {
0 commit comments