Skip to content

Commit

Permalink
Merge pull request #1595 from zenustech/quadmesh
Browse files Browse the repository at this point in the history
enable marking edge
  • Loading branch information
littlemine authored Dec 8, 2023
2 parents 8d37cb7 + 75ec0f7 commit 8c5ac2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion projects/Geometry/quadmesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ struct QuadMesh : INode {
marked_lines.insert(std::make_pair(lines[i][0], lines[i][1]));
}
}
if (marked_lines.size() > 0)
boundary = true;

int scale_constraints = 0;
scale_constraints += scale > 0 ? 1 : 0;
Expand All @@ -58,7 +60,7 @@ struct QuadMesh : INode {
}

int argc = 1;
char* argv[10];
char* argv[20];
argv[0] = (char*)malloc(sizeof("./InstantMeshes\0"));
strcpy(argv[0], "./InstantMeshes\0");
if (crease > 0) {
Expand Down

0 comments on commit 8c5ac2d

Please sign in to comment.