FIX: fix the gcodes loading issue
JIRA: STUDIO-7718 Change-Id: I9dcaa59ed639d590d432ef722077082b093019f4
This commit is contained in:
parent
2dbc5c9396
commit
733cb96805
|
@ -10500,7 +10500,7 @@ void Plater::load_gcode(const wxString& filename)
|
|||
//p->preview->get_canvas3d()->zoom_to_gcode();
|
||||
p->preview->get_canvas3d()->zoom_to_plate(0);
|
||||
p->partplate_list.get_curr_plate()->update_slice_result_valid_state(true);
|
||||
current_print.apply(this->model(), wxGetApp().preset_bundle->full_config());
|
||||
current_print.apply(this->model(), wxGetApp().preset_bundle->full_config(false, current_print.get_filament_maps()));
|
||||
|
||||
if (p->preview->get_canvas3d()->get_gcode_layers_zs().empty()) {
|
||||
MessageDialog(this, _L("The selected file") + ":\n" + filename + "\n" + _L("does not contain valid gcode."),
|
||||
|
|
Loading…
Reference in New Issue