Pcbnew: Update Ratsnest immediately after rotation/flip/mirror
Provide a visual feedback to the user how each rotation will affect the routing by immediately reflecting the change in ratsnest orientation. Signed-off-by: Aurabindo J <mail@aurabindo.in> Fixes: lp:1663488 * https://bugs.launchpad.net/kicad/+bug/1663488
This commit is contained in:
parent
a54830897b
commit
112c10fbd9
|
@ -412,6 +412,8 @@ int EDIT_TOOL::Rotate( const TOOL_EVENT& aEvent )
|
|||
|
||||
if( !m_dragging )
|
||||
m_commit->Push( _( "Rotate" ) );
|
||||
else
|
||||
updateRatsnest( true );
|
||||
|
||||
if( unselect )
|
||||
m_toolMgr->RunAction( COMMON_ACTIONS::selectionClear, true );
|
||||
|
@ -521,6 +523,8 @@ int EDIT_TOOL::Mirror( const TOOL_EVENT& aEvent )
|
|||
|
||||
if( !m_dragging )
|
||||
m_commit->Push( _( "Mirror" ) );
|
||||
else
|
||||
updateRatsnest( true );
|
||||
|
||||
if( unselect )
|
||||
m_toolMgr->RunAction( COMMON_ACTIONS::selectionClear, true );
|
||||
|
@ -553,6 +557,8 @@ int EDIT_TOOL::Flip( const TOOL_EVENT& aEvent )
|
|||
|
||||
if( !m_dragging )
|
||||
m_commit->Push( _( "Flip" ) );
|
||||
else
|
||||
updateRatsnest( true );
|
||||
|
||||
if( unselect )
|
||||
m_toolMgr->RunAction( COMMON_ACTIONS::selectionClear, true );
|
||||
|
|
Loading…
Reference in New Issue