Fix T98517: Curve Fill Node creating extra edges.
The delaunay2d function, with mode CDT_CONSTRAINTS_VALID_BMESH_WITH_HOLES sometimes didn't eat away all of the edges. Doing a prepass to remove the outer edges until they hit the constraints solves this problem.
This commit is contained in:
parent
922861c5dc
commit
f24d32f791
Notes:
blender-bot
2023-02-14 09:38:57 +01:00
Referenced by issue #98517, Curve Fill Node creates edges where there should be none
|
@ -2637,6 +2637,7 @@ void prepare_cdt_for_output(CDT_state<T> *cdt_state, const CDT_output_type outpu
|
|||
remove_faces_in_holes(cdt_state);
|
||||
}
|
||||
else if (output_type == CDT_CONSTRAINTS_VALID_BMESH_WITH_HOLES) {
|
||||
remove_outer_edges_until_constraints(cdt_state);
|
||||
remove_non_constraint_edges_leave_valid_bmesh(cdt_state);
|
||||
remove_faces_in_holes(cdt_state);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue