mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
add user name placeholder (#10109)
* Add user name placeholder * non-ASCII character support * fix: Explicitly include <boost/nowide/cstdlib.hpp>
This commit is contained in:
@@ -69,6 +69,7 @@ std::string PrintBase::output_filename(const std::string &format, const std::str
|
||||
cfg = *config_override;
|
||||
cfg.set_key_value("version", new ConfigOptionString(std::string(SoftFever_VERSION)));
|
||||
PlaceholderParser::update_timestamp(cfg);
|
||||
PlaceholderParser::update_user_name(cfg);
|
||||
this->update_object_placeholders(cfg, default_ext);
|
||||
if (! filename_base.empty()) {
|
||||
cfg.set_key_value("input_filename", new ConfigOptionString(filename_base + default_ext));
|
||||
|
||||
Reference in New Issue
Block a user