mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 03:37:54 -06:00
Fix [scale] from being assigned to [year] placeholder
[year] in output filename format results in blank file name (Issue #2349)
This commit is contained in:
parent
1779fc0e1d
commit
5342ad8990
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ void PrintBase::update_object_placeholders(DynamicConfig &config, const std::str
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
config.set_key_value("year", new ConfigOptionStrings(v_scale));
|
config.set_key_value("scale", new ConfigOptionStrings(v_scale));
|
||||||
if (! input_file.empty()) {
|
if (! input_file.empty()) {
|
||||||
// get basename with and without suffix
|
// get basename with and without suffix
|
||||||
const std::string input_filename = boost::filesystem::path(input_file).filename().string();
|
const std::string input_filename = boost::filesystem::path(input_file).filename().string();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue