diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index 360215f52..239d4775c 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -7112,8 +7112,11 @@ void GLCanvas3D::_render_main_toolbar() //when rendering, {0, 0} is at the center, {-0.5, 0.5} at the left-up void GLCanvas3D::_render_imgui_select_plate_toolbar() { - if (!m_sel_plate_toolbar.is_enabled()) + if (!m_sel_plate_toolbar.is_enabled()) { + if (!m_render_preview) + m_render_preview = true; return; + } IMToolbarItem* all_plates_stats_item = m_sel_plate_toolbar.m_all_plates_stats_item; diff --git a/src/slic3r/GUI/GUI_Preview.cpp b/src/slic3r/GUI/GUI_Preview.cpp index 6def98fe2..64f0fc4a0 100644 --- a/src/slic3r/GUI/GUI_Preview.cpp +++ b/src/slic3r/GUI/GUI_Preview.cpp @@ -707,7 +707,7 @@ void Preview::load_print_as_fff(bool keep_z_range, bool only_gcode) if (IsShown()) { m_canvas->set_selected_extruder(0); bool is_slice_result_valid = wxGetApp().plater()->get_partplate_list().get_curr_plate()->is_slice_result_valid(); - if (gcode_preview_data_valid && is_slice_result_valid) { + if (gcode_preview_data_valid && (is_slice_result_valid || m_only_gcode)) { // Load the real G-code preview. //BBS: add more log BOOST_LOG_TRIVIAL(debug) << __FUNCTION__ << boost::format(": will load gcode_preview from result, moves count %1%") % m_gcode_result->moves.size();