From 5342ad899022782093616ca610747456b70dbf0c Mon Sep 17 00:00:00 2001 From: Jebtrix Date: Mon, 4 Nov 2019 15:48:55 -0500 Subject: [PATCH] Fix [scale] from being assigned to [year] placeholder [year] in output filename format results in blank file name (Issue #2349) --- src/libslic3r/PrintBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/PrintBase.cpp b/src/libslic3r/PrintBase.cpp index fdee67f2e4..55e24178de 100644 --- a/src/libslic3r/PrintBase.cpp +++ b/src/libslic3r/PrintBase.cpp @@ -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()) { // get basename with and without suffix const std::string input_filename = boost::filesystem::path(input_file).filename().string();