mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
FIX: preview model display problem after tick changed
Change-Id: I1d17fe1b19d323642ad2aff0329c919a627dc3fc
This commit is contained in:
@@ -706,7 +706,8 @@ void Preview::load_print_as_fff(bool keep_z_range, bool only_gcode)
|
||||
|
||||
if (IsShown()) {
|
||||
m_canvas->set_selected_extruder(0);
|
||||
if (gcode_preview_data_valid) {
|
||||
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) {
|
||||
// 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();
|
||||
|
||||
Reference in New Issue
Block a user