diff --git a/src/geometry/GeometryEvaluator.cc b/src/geometry/GeometryEvaluator.cc index 90f9d8f824..ae8d53e10a 100644 --- a/src/geometry/GeometryEvaluator.cc +++ b/src/geometry/GeometryEvaluator.cc @@ -856,7 +856,7 @@ static std::unique_ptr rotatePolygon(const RotateExtrudeNode& node, co } } - if ((max_x - min_x) > max_x && (max_x - min_x) > fabs(min_x)) { + if (max_x > 0 && min_x < 0) { LOG(message_group::Error, "all points for rotate_extrude() must have the same X coordinate sign (range is %1$.2f -> %2$.2f)", min_x, max_x); return nullptr; }