diff --git a/pcbnew/import_gfx/dialog_import_gfx.cpp b/pcbnew/import_gfx/dialog_import_gfx.cpp index ce4d881b68..f0b661c6e4 100644 --- a/pcbnew/import_gfx/dialog_import_gfx.cpp +++ b/pcbnew/import_gfx/dialog_import_gfx.cpp @@ -71,10 +71,8 @@ DIALOG_IMPORT_GFX::DIALOG_IMPORT_GFX( PCB_BASE_FRAME* aParent, bool aImportAsFoo // construct an import manager with options from config { GRAPHICS_IMPORT_MGR::TYPE_LIST blacklist; - - if( !ADVANCED_CFG::GetCfg().m_enableSvgImport ) - blacklist.push_back( GRAPHICS_IMPORT_MGR::SVG ); - + // Currently: all types are allowed, so the blacklist is empty + // (no GFX_FILE_T in the blacklist) m_gfxImportMgr = std::make_unique( blacklist ); } diff --git a/pcbnew/import_gfx/graphics_import_mgr.h b/pcbnew/import_gfx/graphics_import_mgr.h index d478c236be..4100fb9d4f 100644 --- a/pcbnew/import_gfx/graphics_import_mgr.h +++ b/pcbnew/import_gfx/graphics_import_mgr.h @@ -3,6 +3,7 @@ * * Copyright (C) 2016 CERN * @author Maciej Suminski + * Copyright (C) 1992-2019 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