Prevent assertion when flipping

Markers do not flip, so avoid including them
This commit is contained in:
Seth Hillbrand 2025-05-07 13:07:21 -07:00
parent 5a87978099
commit 99a0f00087

View File

@ -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;