Fix issues with DRAWSEGMENT undo.

This commit is contained in:
Jeff Young 2020-08-02 11:54:25 +01:00
parent aae40148dc
commit 2320a67c30
1 changed files with 5 additions and 0 deletions

View File

@ -1193,6 +1193,11 @@ void DRAWSEGMENT::SwapData( BOARD_ITEM* aImage )
std::swap( m_BezierC2, image->m_BezierC2 );
std::swap( m_BezierPoints, image->m_BezierPoints );
std::swap( m_Poly, image->m_Poly );
std::swap( m_Layer, image->m_Layer );
std::swap( m_Flags, image->m_Flags );
std::swap( m_Status, image->m_Status );
std::swap( m_Parent, image->m_Parent );
std::swap( m_forceVisible, image->m_forceVisible );
}