Pcbnew: Enable SVG import in DIALOG_IMPORT_GFX.
This commit is contained in:
parent
d259459a14
commit
61567d3917
|
@ -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<GRAPHICS_IMPORT_MGR>( blacklist );
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
*
|
||||
* Copyright (C) 2016 CERN
|
||||
* @author Maciej Suminski <maciej.suminski@cern.ch>
|
||||
* 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
|
||||
|
|
Loading…
Reference in New Issue