Skip to content

Commit

Permalink
Fix Seam gap in filament section keep reactivating
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Jan 11, 2024
1 parent 026eb0c commit 2568034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libslic3r/Config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ class ConfigOptionFloatsOrPercentsTempl : public ConfigOptionVector<FloatOrPerce
{
if (idx < 0) {
for (const FloatOrPercent &v : this->values)
if (! std::isnan(v.value) || v != NIL_VALUE())
if (!std::isnan(v.value) && v != NIL_VALUE())
return false;
return true;
} else {
Expand Down

0 comments on commit 2568034

Please sign in to comment.