From 19388285205ff46379ce0f9b0291aff1badd6568 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 11 Dec 2017 09:31:29 +0100 Subject: [PATCH] Slic3r version was not set by the placeholder parser. https://github.com/prusa3d/Slic3r/issues/615 --- xs/src/libslic3r/PlaceholderParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/libslic3r/PlaceholderParser.cpp b/xs/src/libslic3r/PlaceholderParser.cpp index 8f2f6d6e7..77ef64e8d 100644 --- a/xs/src/libslic3r/PlaceholderParser.cpp +++ b/xs/src/libslic3r/PlaceholderParser.cpp @@ -56,7 +56,7 @@ namespace Slic3r { PlaceholderParser::PlaceholderParser() { - this->set("version", SLIC3R_VERSION); + this->set("version", std::string(SLIC3R_VERSION)); this->apply_env_variables(); this->update_timestamp(); }