Normalize rects higher up.

We don't want to normalize footprint children to their board-relative
coordinates.
This commit is contained in:
Jeff Young
2023-10-29 11:45:16 +00:00
parent acda18465c
commit fc0017fc95
8 changed files with 19 additions and 33 deletions
+4
View File
@@ -1767,7 +1767,10 @@ int EDIT_TOOL::Rotate( const TOOL_EVENT& aEvent )
}
if( BOARD_ITEM* board_item = dynamic_cast<BOARD_ITEM*>( item ) )
{
board_item->Rotate( refPt, rotateAngle );
board_item->Normalize();
}
}
if( !localCommit.Empty() )
@@ -2054,6 +2057,7 @@ int EDIT_TOOL::Flip( const TOOL_EVENT& aEvent )
}
boardItem->Flip( refPt, leftRight );
boardItem->Normalize();
}
}