CADSTAR PCB: Fix loading of filled circles (load as polygon for now)
todo: need to detect if what we are drawing is a circle.
This commit is contained in:
parent
6f5321c481
commit
2cefabc99a
|
@ -2742,9 +2742,7 @@ void CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarShape( const SHAPE& aCadstarShape,
|
|||
case SHAPE_TYPE::SOLID:
|
||||
{
|
||||
// Special case solid shapes that are effectively a single line
|
||||
if( aCadstarShape.Vertices.size() < 3
|
||||
|| ( aCadstarShape.Vertices.size() == 3
|
||||
&& aCadstarShape.Vertices.at( 0 ).End == aCadstarShape.Vertices.at( 2 ).End ) )
|
||||
if( aCadstarShape.Vertices.size() < 3 )
|
||||
{
|
||||
drawAsOutline();
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue