mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Fix incorrect flip for graphic segments.
For some obscure reason, the end points of segments were swapped. Note graphic RECTANGLE shapes have still an issue when flipped, but this is a very different issue.
This commit is contained in:
parent
11e749ad2b
commit
513d659ce8
@ -444,8 +444,6 @@ void EDA_SHAPE::flip( const VECTOR2I& aCentre, bool aFlipLeftRight )
|
||||
m_start.y = aCentre.y - ( m_start.y - aCentre.y );
|
||||
m_end.y = aCentre.y - ( m_end.y - aCentre.y );
|
||||
}
|
||||
|
||||
std::swap( m_start, m_end );
|
||||
break;
|
||||
|
||||
case SHAPE_T::CIRCLE:
|
||||
|
Loading…
Reference in New Issue
Block a user