mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 10:06:02 +08:00
Fix of [2.4.0a] version placeholder doesn't work for output filename format #7002
This commit is contained in:
parent
04e4aee246
commit
0c0c37b76c
@ -60,6 +60,7 @@ std::string PrintBase::output_filename(const std::string &format, const std::str
|
|||||||
DynamicConfig cfg;
|
DynamicConfig cfg;
|
||||||
if (config_override != nullptr)
|
if (config_override != nullptr)
|
||||||
cfg = *config_override;
|
cfg = *config_override;
|
||||||
|
cfg.set_key_value("version", new ConfigOptionString(std::string(SLIC3R_VERSION)));
|
||||||
PlaceholderParser::update_timestamp(cfg);
|
PlaceholderParser::update_timestamp(cfg);
|
||||||
this->update_object_placeholders(cfg, default_ext);
|
this->update_object_placeholders(cfg, default_ext);
|
||||||
if (! filename_base.empty()) {
|
if (! filename_base.empty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user