last path functions

This commit is contained in:
David Kocik 2019-12-05 14:07:02 +01:00
parent 1c8ca1aec1
commit 63ee4e3a2f
4 changed files with 173 additions and 18 deletions

View file

@ -4681,9 +4681,11 @@ void Plater::export_gcode()
fs::path path = into_path(dlg.GetPath());
wxGetApp().app_config->update_last_output_dir(path.parent_path().string());
output_path = std::move(path);
RemovableDriveManager::get_instance().set_last_save_path(output_path.string());
}
if (! output_path.empty())
p->export_gcode(std::move(output_path), PrintHostJob());
}
void Plater::export_stl(bool extended, bool selection_only)