mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-19 03:37:37 +08:00
Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native
This commit is contained in:
commit
61f7849fce
@ -15,14 +15,16 @@
|
|||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
||||||
#include <boost/format.hpp>
|
#include <boost/format.hpp>
|
||||||
|
#include <boost/filesystem/path.hpp>
|
||||||
#include <boost/nowide/cstdio.hpp>
|
#include <boost/nowide/cstdio.hpp>
|
||||||
|
|
||||||
namespace Slic3r {
|
namespace Slic3r {
|
||||||
|
|
||||||
BackgroundSlicingProcess::BackgroundSlicingProcess()
|
BackgroundSlicingProcess::BackgroundSlicingProcess()
|
||||||
{
|
{
|
||||||
m_temp_output_path = wxStandardPaths::Get().GetTempDir().utf8_str().data();
|
boost::filesystem::path temp_path(wxStandardPaths::Get().GetTempDir().utf8_str().data());
|
||||||
m_temp_output_path += (boost::format(".%1%.gcode") % get_current_pid()).str();
|
temp_path /= (boost::format(".%1%.gcode") % get_current_pid()).str();
|
||||||
|
m_temp_output_path = temp_path.string();
|
||||||
}
|
}
|
||||||
|
|
||||||
BackgroundSlicingProcess::~BackgroundSlicingProcess()
|
BackgroundSlicingProcess::~BackgroundSlicingProcess()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user