more amazing free specctra software

This commit is contained in:
dickelbeck 2008-02-01 20:52:49 +00:00
parent 775f98c9ce
commit d44f1c0de5
1 changed files with 2 additions and 4 deletions

View File

@ -891,9 +891,9 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard )
} }
else else
{ {
#if 0 // PCBNEW user's edges are rarely this clean, let the router figure #if 1
// out the mess by using code at #else below.
PATH* path = new PATH( boundary ); PATH* path = new PATH( boundary );
boundary->paths.push_back( path );
path->layer_id = "pcb"; path->layer_id = "pcb";
for( unsigned i=0; i<ppairs.size(); ++i ) for( unsigned i=0; i<ppairs.size(); ++i )
@ -902,8 +902,6 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard )
// otherwise it will. // otherwise it will.
path->points.push_back( ppairs[i].start ); path->points.push_back( ppairs[i].start );
} }
boundary->paths.push_back( path );
#else #else
for( unsigned i=0; i<ppairs.size(); ++i ) for( unsigned i=0; i<ppairs.size(); ++i )
{ {