Don't attempt to update temp lines when it will fail (KICAD-FWF).

This commit is contained in:
Jeff Young 2025-07-01 21:14:38 -06:00
parent eafa1a7af0
commit 5e907f864e

View File

@ -107,7 +107,8 @@ bool POLYGON_GEOM_MANAGER::IsSelfIntersecting( bool aIncludeLeaderPts ) const
void POLYGON_GEOM_MANAGER::SetCursorPosition( const VECTOR2I& aPos )
{
updateTemporaryLines( aPos );
if( m_lockedPoints.PointCount() > 0 )
updateTemporaryLines( aPos );
}