diff --git a/src/libslic3r/Config.hpp b/src/libslic3r/Config.hpp index 98596577a..57182428f 100644 --- a/src/libslic3r/Config.hpp +++ b/src/libslic3r/Config.hpp @@ -1363,7 +1363,7 @@ public: unsigned char new_value = 0; if (item_str == "nil") { if (NULLABLE) - this->values.push_back(nil_value()); + new_value = nil_value(); else throw ConfigurationError("Deserializing nil into a non-nullable object"); } else if (item_str == "1") {