Eeschema: bug 2959625 (Mirror Block does not work in Component Editor) fixed

This commit is contained in:
charras 2010-03-01 19:52:40 +00:00
parent 5bccc8726f
commit 8ee7d7b6ae
1 changed files with 2 additions and 1 deletions

View File

@ -1145,6 +1145,7 @@ void LIB_COMPONENT::CopySelectedItems( const wxPoint& aOffset )
}
void LIB_COMPONENT::MirrorSelectedItemsH( const wxPoint& aCenter )
{
BOOST_FOREACH( LIB_DRAW_ITEM& item, drawings )
@ -1152,7 +1153,7 @@ void LIB_COMPONENT::MirrorSelectedItemsH( const wxPoint& aCenter )
if( item.m_Selected == 0 )
continue;
item.SetOffset( aCenter );
item.MirrorHorizontal( aCenter );
item.m_Flags = item.m_Selected = 0;
}