Commit d44f1c0d authored by dickelbeck's avatar dickelbeck

more amazing free specctra software

parent 775f98c9
...@@ -891,9 +891,9 @@ void SPECCTRA_DB::FromBOARD( BOARD* aBoard ) ...@@ -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 ) ...@@ -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 )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment