diff options
author | bubnikv <bubnikv@gmail.com> | 2017-12-11 11:31:29 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-12-11 11:31:29 +0300 |
commit | 19388285205ff46379ce0f9b0291aff1badd6568 (patch) | |
tree | ae7a5ab2a7b5fe5a9082cbded3a48e8998f28b37 /xs | |
parent | ae5863f5e043a92188377c4673b4efd87ca09976 (diff) |
Slic3r version was not set by the placeholder parser.
https://github.com/prusa3d/Slic3r/issues/615
Diffstat (limited to 'xs')
-rw-r--r-- | xs/src/libslic3r/PlaceholderParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |