Revert "Handle degenerate arcs"
It is not needed anymore, and could cause problems
for legitimate arcs.
This reverts commit ff188450e6
.
This commit is contained in:
parent
e450258c0f
commit
0a75053e9d
|
@ -835,14 +835,6 @@ void PCB_PAINTER::draw( const PCB_ARC* aArc, int aLayer )
|
||||||
EDA_ANGLE start_angle = aArc->GetArcAngleStart();
|
EDA_ANGLE start_angle = aArc->GetArcAngleStart();
|
||||||
EDA_ANGLE angle = aArc->GetAngle();
|
EDA_ANGLE angle = aArc->GetAngle();
|
||||||
|
|
||||||
if( std::abs( center.x ) > std::numeric_limits<int>::max() / 2
|
|
||||||
|| std::abs( center.y ) > std::numeric_limits<int>::max() / 2 )
|
|
||||||
{
|
|
||||||
const PCB_TRACK* track = static_cast<const PCB_TRACK*>( aArc );
|
|
||||||
draw( track, aLayer );
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
if( IsNetnameLayer( aLayer ) )
|
if( IsNetnameLayer( aLayer ) )
|
||||||
{
|
{
|
||||||
// Ummm, yeah. Anyone fancy implementing text on a path?
|
// Ummm, yeah. Anyone fancy implementing text on a path?
|
||||||
|
|
Loading…
Reference in New Issue