FIX: when params change, clear detected overhangs

jira: STUDIO-10575
Change-Id: If38fc21a97657980b4dfae17699f3fb41a46fa0a
This commit is contained in:
jiaxi.chen 2025-02-26 15:04:21 +08:00 committed by lane.wei
parent ec11e25b43
commit 1a58c3f1c8
1 changed files with 1 additions and 0 deletions

View File

@ -864,6 +864,7 @@ void TreeSupport::detect_overhangs(bool check_support_necessity/* = false*/)
// Filter out areas whose diameter that is smaller than extrusion_width, but we don't want to lose any details.
layer->lslices_extrudable = intersection_ex(layer->lslices, offset2_ex(layer->lslices, -extrusion_width_scaled / 2, extrusion_width_scaled));
layer->loverhangs.clear();
layer->loverhangs_with_type.clear();
layer->sharp_tails.clear();
layer->sharp_tails_height.clear();
layer->cantilevers.clear();