Fix of [2.4.0a] version placeholder doesn't work for output filename format #7002
This commit is contained in:
parent
04e4aee246
commit
0c0c37b76c
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ std::string PrintBase::output_filename(const std::string &format, const std::str
|
|||
DynamicConfig cfg;
|
||||
if (config_override != nullptr)
|
||||
cfg = *config_override;
|
||||
cfg.set_key_value("version", new ConfigOptionString(std::string(SLIC3R_VERSION)));
|
||||
PlaceholderParser::update_timestamp(cfg);
|
||||
this->update_object_placeholders(cfg, default_ext);
|
||||
if (! filename_base.empty()) {
|
||||
|
|
Loading…
Reference in a new issue