mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-13 02:11:48 +08:00
Fixed that seed fill left all triangles split instead of merging them.
This commit is contained in:
parent
726a48383f
commit
2cbf7728bb
@ -767,6 +767,12 @@ void TriangleSelector::seed_fill_apply_on_triangles(EnforcerBlockerType new_stat
|
||||
for (Triangle &triangle : m_triangles)
|
||||
if (!triangle.is_split() && triangle.is_selected_by_seed_fill())
|
||||
triangle.set_state(new_state);
|
||||
|
||||
for (Triangle &triangle : m_triangles)
|
||||
if (triangle.is_split() && triangle.valid) {
|
||||
size_t facet_idx = &triangle - &m_triangles.front();
|
||||
remove_useless_children(facet_idx);
|
||||
}
|
||||
}
|
||||
|
||||
TriangleSelector::Cursor::Cursor(
|
||||
|
Loading…
x
Reference in New Issue
Block a user