Browse Source

router: remove some loose printfs()

pcb_db
Tomasz Wlostowski 11 months ago
parent
commit
d97065609d
  1. 2
      pcbnew/router/pns_logger.cpp
  2. 1
      pcbnew/router/pns_router.cpp
  3. 1
      pcbnew/router/router_tool.cpp

2
pcbnew/router/pns_logger.cpp

@ -104,8 +104,6 @@ wxString LOGGER::FormatEvent( const LOGGER::EVENT_ENTRY& aEvent )
{
wxString str = wxString::Format( "event %d %d %d %d %d ", aEvent.p.x, aEvent.p.y, aEvent.type, aEvent.layer, (int)aEvent.uuids.size() );
printf("*** formatEvent l %d\n", aEvent.layer );
for( int i = 0; i < aEvent.uuids.size(); i++ )
{
str.Append( aEvent.uuids[i].AsString() );

1
pcbnew/router/pns_router.cpp

@ -178,7 +178,6 @@ bool ROUTER::StartDragging( const VECTOR2I& aP, ITEM_SET aStartItems, int aDragM
// more than 1 track segment or arc to drag? launch the multisegment dragger
else if( aStartItems.Count( ITEM::SEGMENT_T | ITEM::ARC_T ) > 1 )
{
fprintf(stderr,"MultiDrag triggered\n");
m_dragger = std::make_unique<MULTI_DRAGGER>( this );
m_state = DRAG_SEGMENT;
}

1
pcbnew/router/router_tool.cpp

@ -2248,7 +2248,6 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent )
m_startItem = pitem;
if( pitem->Net() )
highlightNetcodes.insert( pitem->Net() );
printf("si %p, p=%d %d\n", m_startItem, p.x, p.y );
}
}

Loading…
Cancel
Save