mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-13 02:41:57 +02:00
Fix of Command line slicing bad gcode #5029
SL1 file was exported with a .gcode suffix if the user did not provide output file name for SLA command line slicing.
This commit is contained in:
1 parent
598ac290a1
commit
c7586e5713
2 files changed
+10
-2
No files matched your search
@@ -182,8 +182,10 @@ namespace Slic3r {
|
||||
void run_post_process_scripts(const std::string &path, const DynamicPrintConfig &config)
|
||||
{
|
||||
const auto* post_process = config.opt<ConfigOptionStrings>("post_process");
|
||||
assert(post_process);
|
||||
if (post_process->values.empty())
|
||||
if (// likely running in SLA mode
|
||||
post_process == nullptr ||
|
||||
// no post-processing script
|
||||
post_process->values.empty())
|
||||
return;
|
||||
|
||||
// Store print configuration into environment variables.
|
||||
|
||||
Reference in new issue
Block a user