mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-17 09:52:36 -07:00
FIX:upgrade cancel_paint_color api
jira: STUDIO-9907 Change-Id: Ie04fc4e1224e84810acde347b8ae9e73530f9031 (cherry picked from commit 915bae32d1d9023a0314361d1b257509fc676c7b)
This commit is contained in:
parent
48c67f6d94
commit
8264e9ee41
1 changed files with 2 additions and 0 deletions
|
|
@ -484,8 +484,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…
Add table
Add a link
Reference in a new issue