FIX:Fix the crash that occurred when importing G-code file
Jira:STUDIO-13408 (cherry picked from commit 3810f4edfe086b9500860e59baf35e5568b56977)
This commit is contained in:
@@ -12431,6 +12431,8 @@ void Plater::load_gcode(const wxString& filename)
|
||||
|
||||
current_print.apply(this->model(), wxGetApp().preset_bundle->full_config());
|
||||
|
||||
current_print.apply_config_for_render(processor.export_config_for_render());
|
||||
|
||||
//BBS: add cost info when drag in gcode
|
||||
auto& ps = current_result->print_statistics;
|
||||
double total_cost = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user