mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Prevent assertion when flipping
Markers do not flip, so avoid including them
This commit is contained in:
parent
5a87978099
commit
99a0f00087
@ -2080,7 +2080,7 @@ int PCB_CONTROL::UpdateMessagePanel( const TOOL_EVENT& aEvent )
|
||||
accumulateArea =
|
||||
[&]( EDA_ITEM* aItem )
|
||||
{
|
||||
if( aItem->Type() == PCB_FOOTPRINT_T )
|
||||
if( aItem->Type() == PCB_FOOTPRINT_T || aItem->Type() == PCB_MARKER_T )
|
||||
{
|
||||
areaValid = false;
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user