FIX:upgrade cancel_paint_color api
jira: STUDIO-9907 Change-Id: Ie04fc4e1224e84810acde347b8ae9e73530f9031
This commit is contained in:
parent
533911e2cd
commit
915bae32d1
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue