From 6a5443dad2aede5a4b0eea75c04d15aab2ba6fd1 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Fri, 1 Apr 2022 11:30:03 +0200 Subject: [PATCH] Yet another fixup of previous commit --- src/libslic3r/Print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Print.cpp b/src/libslic3r/Print.cpp index 3198f6795..2bd80b4ab 100644 --- a/src/libslic3r/Print.cpp +++ b/src/libslic3r/Print.cpp @@ -548,7 +548,7 @@ std::string Print::validate(std::string* warning) const && i < layer_height_profiles[tallest_object_idx].size()) { if (i%2 == 0 && layer_height_profiles[tallest_object_idx][i] > layer_height_profiles[idx_object][layer_height_profiles[idx_object].size() - 2 ]) break; - if (! std::abs(layer_height_profiles[idx_object][i] - layer_height_profiles[tallest_object_idx][i]) < eps) + if (std::abs(layer_height_profiles[idx_object][i] - layer_height_profiles[tallest_object_idx][i]) > eps) return L("The Wipe tower is only supported if all objects have the same variable layer height"); ++i; }