FIX:upgrade cancel_paint_color api

jira: STUDIO-9907
Change-Id: Ie04fc4e1224e84810acde347b8ae9e73530f9031
This commit is contained in:
zhou.xu 2025-01-18 14:26:04 +08:00 committed by lane.wei
parent 533911e2cd
commit 915bae32d1
1 changed files with 2 additions and 0 deletions

View File

@ -487,8 +487,10 @@ void ObjColorPanel::send_new_filament_to_ui()
void ObjColorPanel::cancel_paint_color() {
m_filament_ids.clear();
auto mo = m_obj_in_out.model->objects[0];
mo->config.set("extruder", 1);
auto mv = mo->volumes[0];
mv->mmu_segmentation_facets.reset();
mv->config.set("extruder", 1);
}
void ObjColorPanel::update_filament_ids()