Don't report non-meeting line-pairs.
We're called on each line pair, so a rect would otherwise always report to failures for the two pairs of opposite sides. Fixes https://gitlab.com/kicad/code/kicad/-/issues/20326
This commit is contained in:
@@ -1599,7 +1599,7 @@ int EDIT_TOOL::ModifyLines( const TOOL_EVENT& aEvent )
|
||||
|
||||
commit.Push( pairwise_line_routine->GetCommitDescription() );
|
||||
|
||||
if( const std::optional<wxString> msg = pairwise_line_routine->GetStatusMessage() )
|
||||
if( const std::optional<wxString> msg = pairwise_line_routine->GetStatusMessage( segmentCount ) )
|
||||
frame()->ShowInfoBarMsg( *msg );
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user