diff --git a/pcbnew/tools/footprint_editor_tools.cpp b/pcbnew/tools/footprint_editor_tools.cpp index e90a1e8b32..51e376cc54 100644 --- a/pcbnew/tools/footprint_editor_tools.cpp +++ b/pcbnew/tools/footprint_editor_tools.cpp @@ -348,6 +348,13 @@ int MODULE_EDITOR_TOOLS::CreatePadFromShapes( const TOOL_EVENT& aEvent ) { auto em = static_cast ( item ); + // Currently, S_CURVE shape is not supported. so warn the user + if( em->GetShape() == S_CURVE ) + { + illegalItemsFound = true; + break; + } + PAD_CS_PRIMITIVE shape( em->GetShape() ); shape.m_Start = em->GetStart(); shape.m_End = em->GetEnd();