Allow the user to switch between visualizing original or processed volumes in 3D scene after slicing using SLA printers

This commit is contained in:
enricoturri1966 2023-04-03 08:54:04 +02:00
parent 47aacbdc5e
commit 797dd1197e
9 changed files with 231 additions and 7 deletions
src/slic3r/GUI

View file

@ -747,6 +747,10 @@ void ObjectList::selection_changed()
wxGetApp().obj_layers()->update_scene_from_editor_selection();
}
}
else if (type & itVolume) {
if (printer_technology() == ptSLA)
wxGetApp().plater()->canvas3D()->set_sla_view_type(GLCanvas3D::ESLAViewType::Original);
}
}
part_selection_changed();