diff options
author | supermerill <merill@free.fr> | 2022-08-28 15:32:44 +0300 |
---|---|---|
committer | supermerill <merill@free.fr> | 2022-09-16 17:11:04 +0300 |
commit | cfc7c8d2f1fd940d37dfdb22180e96de30af98aa (patch) | |
tree | ab0dc49a5bf8b00a3ee2ad997b10ef93a10123f2 | |
parent | b1bce7bc588a6ca992efcb1f087a193dd1908f43 (diff) |
fix string/empty custom variable
supermerill/SuperSlicer#3126
-rw-r--r-- | src/libslic3r/PlaceholderParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libslic3r/PlaceholderParser.cpp b/src/libslic3r/PlaceholderParser.cpp index 1e8325786..b13d689db 100644 --- a/src/libslic3r/PlaceholderParser.cpp +++ b/src/libslic3r/PlaceholderParser.cpp @@ -1721,7 +1721,7 @@ void PlaceholderParser::append_custom_variables(std::map<std::string, std::vecto } } //if nothing, then it's strings - if (is_not_string && is_not_numeric && is_not_bool) { + if (!is_not_string && is_not_numeric && is_not_bool) { string_values = values; is_not_string = false; } |