From 4bc7c16ce057893500b9056c2f2625d9f1707b30 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 30 Jul 2022 21:56:07 +0100 Subject: [PATCH] Don't auto-fill zones due to DRC marker insertion. --- pcbnew/board_commit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/board_commit.cpp b/pcbnew/board_commit.cpp index fed4a1b454..a277f084b3 100644 --- a/pcbnew/board_commit.cpp +++ b/pcbnew/board_commit.cpp @@ -281,7 +281,7 @@ void BOARD_COMMIT::Push( const wxString& aMessage, int aCommitFlags ) } } - if( autofillZones ) + if( autofillZones && boardItem->Type() != PCB_MARKER_T ) dirtyIntersectingZones( boardItem ); if( view && boardItem->Type() != PCB_NETINFO_T )