Try to blindly fix a QA test issue.

This commit is contained in:
jean-pierre charras 2022-03-14 20:39:34 +01:00
parent 6f6505f6a1
commit f1c772ba55
1 changed files with 3 additions and 0 deletions

View File

@ -209,6 +209,7 @@ BOOST_AUTO_TEST_CASE( Rotate )
if( schItem != nullptr )
{
schItem->ClearFieldsAutoplaced();
// Only rotating pins around the center of parent sheet works.
schItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() );
schItem->Rotate( m_sheet.GetBodyBoundingBox().GetCenter() );
@ -287,6 +288,7 @@ BOOST_AUTO_TEST_CASE( MirrorHorizontally )
if( schItem != nullptr )
{
schItem->ClearFieldsAutoplaced();
schItem->MirrorHorizontally( aRef.x );
schItem->MirrorHorizontally( aRef.x );
}
@ -330,6 +332,7 @@ BOOST_AUTO_TEST_CASE( MirrorVertically )
if( schItem != nullptr )
{
schItem->ClearFieldsAutoplaced();
schItem->MirrorVertically( aRef.y );
schItem->MirrorVertically( aRef.y );
}