From 37e268c1629841108b130610b5a6e129a9c22a11 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Tue, 8 Sep 2020 14:10:18 -0700 Subject: [PATCH] Remove incorrect short-circuit of rotate --- libs/kimath/src/geometry/shape_poly_set.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libs/kimath/src/geometry/shape_poly_set.cpp b/libs/kimath/src/geometry/shape_poly_set.cpp index ea1e312ae8..52ca2102ee 100644 --- a/libs/kimath/src/geometry/shape_poly_set.cpp +++ b/libs/kimath/src/geometry/shape_poly_set.cpp @@ -1532,11 +1532,6 @@ void SHAPE_POLY_SET::Mirror( bool aX, bool aY, const VECTOR2I& aRef ) void SHAPE_POLY_SET::Rotate( double aAngle, const VECTOR2I& aCenter ) { - // Avoid extremely small angles - // TODO(snh): Extract into Advanced Config - if( aAngle < 0.0001 ) - return; - for( POLYGON& poly : m_polys ) { for( SHAPE_LINE_CHAIN& path : poly )