mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 03:15:54 +08:00
Fix gcode viewer on linux (#2110)
This commit is contained in:
parent
61437b2c76
commit
a73e533bdb
@ -708,7 +708,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 || m_only_gcode)) {
|
||||
if (gcode_preview_data_valid && (is_slice_result_valid || 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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user