Recache polygon triangulation when mirroring

Fixes https://gitlab.com/kicad/code/kicad/-/issues/6265
This commit is contained in:
Jon Evans 2020-12-20 10:45:24 -05:00
parent a6e595dbda
commit ea351fde69
1 changed files with 3 additions and 0 deletions

View File

@ -1623,6 +1623,9 @@ void SHAPE_POLY_SET::Mirror( bool aX, bool aY, const VECTOR2I& aRef )
for( SHAPE_LINE_CHAIN& path : poly )
path.Mirror( aX, aY, aRef );
}
if( m_triangulationValid )
CacheTriangulation();
}