From db9734923c8b6e7dbaf557f5a84e45928b9be6ee Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Wed, 18 Oct 2023 09:40:26 +0200 Subject: [PATCH] DIALOG_CLEANUP_GRAPHICS: fix incorrect parameter passed to cleaner.CleanupBoard(). The fix board outlines was in fact always activated. --- pcbnew/dialogs/dialog_cleanup_graphics.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pcbnew/dialogs/dialog_cleanup_graphics.cpp b/pcbnew/dialogs/dialog_cleanup_graphics.cpp index 4f3ca014ac..b933220a0f 100644 --- a/pcbnew/dialogs/dialog_cleanup_graphics.cpp +++ b/pcbnew/dialogs/dialog_cleanup_graphics.cpp @@ -1,7 +1,7 @@ /* * This program source code file is part of KiCad, a free EDA CAD application. * - * Copyright (C) 2020-2022 KiCad Developers, see AUTHORS.txt for contributors. + * Copyright (C) 2020-2023 KiCad Developers, see AUTHORS.txt for contributors. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -121,7 +121,7 @@ void DIALOG_CLEANUP_GRAPHICS::doCleanup( bool aDryRun ) cleaner.CleanupBoard( aDryRun, &m_items, m_createRectanglesOpt->GetValue(), m_deleteRedundantOpt->GetValue(), m_mergePadsOpt->GetValue(), - m_fixBoardOutlines, m_tolerance.GetIntValue() ); + m_fixBoardOutlines->GetValue(), m_tolerance.GetIntValue() ); if( aDryRun ) {