mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
FIX:upgrade cancel_paint_color api
jira: STUDIO-9907 Change-Id: Ie04fc4e1224e84810acde347b8ae9e73530f9031 (cherry picked from commit 915bae32d1d9023a0314361d1b257509fc676c7b)
This commit is contained in:
@@ -484,8 +484,10 @@ void ObjColorPanel::send_new_filament_to_ui()
|
|||||||
void ObjColorPanel::cancel_paint_color() {
|
void ObjColorPanel::cancel_paint_color() {
|
||||||
m_filament_ids.clear();
|
m_filament_ids.clear();
|
||||||
auto mo = m_obj_in_out.model->objects[0];
|
auto mo = m_obj_in_out.model->objects[0];
|
||||||
|
mo->config.set("extruder", 1);
|
||||||
auto mv = mo->volumes[0];
|
auto mv = mo->volumes[0];
|
||||||
mv->mmu_segmentation_facets.reset();
|
mv->mmu_segmentation_facets.reset();
|
||||||
|
mv->config.set("extruder", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ObjColorPanel::update_filament_ids()
|
void ObjColorPanel::update_filament_ids()
|
||||||
|
|||||||
Reference in New Issue
Block a user