mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 02:37:51 -06:00
Fixed missing includes
This commit is contained in:
parent
8481ca9610
commit
aed6eabae8
1 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
#include "PostProcessor.hpp"
|
||||
|
||||
#include <boost/log/trivial.hpp>
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
namespace Slic3r {
|
||||
|
@ -25,7 +27,8 @@ void run_post_process_scripts(const std::string &path, const PrintConfig &config
|
|||
{
|
||||
if (config.post_process.values.empty())
|
||||
return;
|
||||
//config.setenv_();
|
||||
|
||||
config.setenv_();
|
||||
auto gcode_file = boost::filesystem::path(path);
|
||||
if (! boost::filesystem::exists(gcode_file))
|
||||
throw std::runtime_error(std::string("Post-processor can't find exported gcode file"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue