pcbnew: Remove corners from graphical polygons
Cherry-picked item from 5.0 allowed this action for modedit but missed pcbnew. This allows the same action in pcbnew as well.
This commit is contained in:
parent
47fe01f793
commit
7ed1968f60
|
@ -926,7 +926,8 @@ bool POINT_EDITOR::removeCornerCondition( const SELECTION& )
|
|||
|
||||
EDA_ITEM* item = m_editPoints->GetParent();
|
||||
|
||||
if( !item || !( item->Type() == PCB_ZONE_AREA_T || ( item->Type() == PCB_MODULE_EDGE_T &&
|
||||
if( !item || !( item->Type() == PCB_ZONE_AREA_T ||
|
||||
( ( item->Type() == PCB_MODULE_EDGE_T || item->Type() == PCB_LINE_T ) &&
|
||||
static_cast<DRAWSEGMENT*>( item )->GetShape() == S_POLYGON ) ) )
|
||||
return false;
|
||||
|
||||
|
|
Loading…
Reference in New Issue