mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 17:27:52 -06:00
Pass config options as environment variables to post-processing scripts
This commit is contained in:
parent
62bd33a766
commit
3e94add8a8
2 changed files with 11 additions and 0 deletions
|
@ -311,6 +311,7 @@ sub export_gcode {
|
|||
# run post-processing scripts
|
||||
if (@$Slic3r::post_process) {
|
||||
$status_cb->(95, "Running post-processing scripts");
|
||||
Slic3r::Config->setenv;
|
||||
for (@$Slic3r::post_process) {
|
||||
Slic3r::debugf " '%s' '%s'\n", $_, $output_file;
|
||||
system($_, $output_file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue