1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-20 09:34:26 +00:00

Merge branch 'dk_remote_devices' of https://github.com/prusa3d/slic3r into dk_remote_devices

This commit is contained in:
Slic3rPE
2019-12-16 15:47:28 +01:00
+1 -1
View File
@@ -4733,9 +4733,9 @@ void Plater::export_gcode()
{
std::string path = output_path.string();
RemovableDriveManager::get_instance().set_is_writing(true);
p->export_gcode(std::move(output_path), PrintHostJob());
RemovableDriveManager::get_instance().update(0, true);
RemovableDriveManager::get_instance().set_last_save_path(path);
p->export_gcode(std::move(output_path), PrintHostJob());
if(!RemovableDriveManager::get_instance().is_last_drive_removed())
{
RemovableDriveManager::get_instance().erase_callbacks();