1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-13 08:24:27 +00:00

GCodeViewer -> Toggle visibility of shells

This commit is contained in:
enricoturri1966
2020-04-15 14:31:39 +02:00
parent bc05ab985c
commit cc774dece7
7 changed files with 363 additions and 180 deletions
+4
View File
@@ -650,7 +650,11 @@ void Preview::on_checkbox_unretractions(wxCommandEvent& evt)
void Preview::on_checkbox_shells(wxCommandEvent& evt)
{
#if ENABLE_GCODE_VIEWER
m_canvas->set_shells_visible(m_checkbox_shells->IsChecked());
#else
m_gcode_preview_data->shell.is_visible = m_checkbox_shells->IsChecked();
#endif // ENABLE_GCODE_VIEWER
refresh_print();
}