mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: preview model display problem after tick changed
Change-Id: I1d17fe1b19d323642ad2aff0329c919a627dc3fc
This commit is contained in:
parent
0576e3e4fd
commit
9a18e4e54b
2 changed files with 4 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue