Skip to content

Commit

Permalink
fix string/empty custom variable
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Aug 28, 2022
1 parent af2c0a3 commit 4eca5f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libslic3r/PlaceholderParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4eca5f7

Please sign in to comment.