Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout

This commit is contained in:
enricoturri1966 2021-10-06 15:48:17 +02:00
commit 7c01817ead

View File

@ -526,6 +526,8 @@ void Preview::on_combochecklist_options(wxCommandEvent& evt)
const unsigned int diff_flags = curr_flags ^ new_flags; const unsigned int diff_flags = curr_flags ^ new_flags;
if ((diff_flags & (1 << static_cast<unsigned int>(Preview::OptionType::Travel))) != 0) if ((diff_flags & (1 << static_cast<unsigned int>(Preview::OptionType::Travel))) != 0)
refresh_print(); refresh_print();
else
m_canvas->refresh_gcode_preview_render_paths();
} }
else else
m_canvas->refresh_gcode_preview_render_paths(); m_canvas->refresh_gcode_preview_render_paths();