mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 15:35:55 +08:00
SPE-1954: Fixed 3MF file containing post-processing script cannot be open as 'Start new PrusaSlicer instance'
This commit is contained in:
parent
3f3a3dd190
commit
d0dc6b99b6
@ -276,6 +276,7 @@ int CLI::run(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!start_gui) {
|
||||||
const auto* post_process = m_print_config.opt<ConfigOptionStrings>("post_process");
|
const auto* post_process = m_print_config.opt<ConfigOptionStrings>("post_process");
|
||||||
if (post_process != nullptr && !post_process->values.empty()) {
|
if (post_process != nullptr && !post_process->values.empty()) {
|
||||||
boost::nowide::cout << "\nA post-processing script has been detected in the config data:\n\n";
|
boost::nowide::cout << "\nA post-processing script has been detected in the config data:\n\n";
|
||||||
@ -288,6 +289,7 @@ int CLI::run(int argc, char **argv)
|
|||||||
if (in != 'Y' && in != 'y')
|
if (in != 'Y' && in != 'y')
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Apply command line options to a more specific DynamicPrintConfig which provides normalize()
|
// Apply command line options to a more specific DynamicPrintConfig which provides normalize()
|
||||||
// (command line options override --load files)
|
// (command line options override --load files)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user