From 4e7749a50dd8e35c68fe65d8d5ae9a65c89158ff Mon Sep 17 00:00:00 2001 From: Vojtech Kral Date: Wed, 12 Dec 2018 13:56:38 +0100 Subject: [PATCH] OctoPrint WIP: Fix build --- src/slic3r/GUI/BackgroundSlicingProcess.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/slic3r/GUI/BackgroundSlicingProcess.cpp b/src/slic3r/GUI/BackgroundSlicingProcess.cpp index 3a34b3381..b31fa6b5f 100644 --- a/src/slic3r/GUI/BackgroundSlicingProcess.cpp +++ b/src/slic3r/GUI/BackgroundSlicingProcess.cpp @@ -17,7 +17,6 @@ #include "libslic3r/GCode/PostProcessor.hpp" //#undef NDEBUG -#include // XXX #include #include #include @@ -80,10 +79,6 @@ void BackgroundSlicingProcess::process_fff() wxQueueEvent(GUI::wxGetApp().mainframe->m_plater, new wxCommandEvent(m_event_slicing_completed_id)); m_fff_print->export_gcode(m_temp_output_path, m_gcode_preview_data); if (this->set_step_started(bspsGCodeFinalize)) { - - std::cerr << "BackgroundSlicingProcess: m_upload_job: " << !!m_upload_job << std::endl; - std::cerr << "BackgroundSlicingProcess: m_export_path: " << m_export_path << std::endl; - if (! m_export_path.empty()) { //FIXME localize the messages // Perform the final post-processing of the export path by applying the print statistics over the file name. @@ -398,7 +393,7 @@ void BackgroundSlicingProcess::schedule_upload(Slic3r::PrintHostJob upload_job) // Guard against entering the export step before changing the export path. tbb::mutex::scoped_lock lock(m_print->state_mutex()); this->invalidate_step(bspsGCodeFinalize); - m_export_path = path.native(); + m_export_path = path.string(); m_upload_job = std::move(upload_job); }