Remove incorrect short-circuit of rotate

This commit is contained in:
Seth Hillbrand 2020-09-08 14:10:18 -07:00
parent d52c475b27
commit 37e268c162
1 changed files with 0 additions and 5 deletions

View File

@ -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 )