parent
ff8d009022
commit
ce5f72207e
|
@ -179,7 +179,6 @@ int FROM_TO_CACHE::cacheFromToPaths( const wxString& aFrom, const wxString& aTo
|
|||
if( count >= 2 )
|
||||
{
|
||||
// fixme: report this somewhere?
|
||||
//printf("Multiple targets found, aborting...\n");
|
||||
path.to = nullptr;
|
||||
}
|
||||
}
|
||||
|
@ -206,9 +205,6 @@ int FROM_TO_CACHE::cacheFromToPaths( const wxString& aFrom, const wxString& aTo
|
|||
else
|
||||
path.isUnique = false;
|
||||
|
||||
|
||||
//printf( "%s\n", (const char *) wxString::Format( _("Check path: %s -> %s (net %s)"), path.fromName, path.toName, cnFrom->Parent()->GetNetname() ) );
|
||||
|
||||
if( result == PS_NO_PATH )
|
||||
continue;
|
||||
|
||||
|
@ -233,7 +229,6 @@ bool FROM_TO_CACHE::IsOnFromToPath( BOARD_CONNECTED_ITEM* aItem, const wxString
|
|||
if( !m_board )
|
||||
return false;
|
||||
|
||||
//printf("Check %d cached paths [%p]\n", m_ftPaths.size(), aItem );
|
||||
for( int attempt = 0; attempt < 2; attempt++ )
|
||||
{
|
||||
// item already belongs to path
|
||||
|
@ -244,12 +239,9 @@ bool FROM_TO_CACHE::IsOnFromToPath( BOARD_CONNECTED_ITEM* aItem, const wxString
|
|||
nFromTosFound++;
|
||||
|
||||
if( ftPath.pathItems.count( aItem ) )
|
||||
{
|
||||
// printf("Found cached path for %p [%s->%s]\n", aItem, (const char *)ftPath.fromName, (const char *) ftPath.toName );
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if( !nFromTosFound )
|
||||
cacheFromToPaths( aFrom, aTo );
|
||||
|
|
|
@ -551,9 +551,7 @@ public:
|
|||
virtual void FootprintLibOptions( STRING_UTF8_MAP* aListToAppendTo ) const;
|
||||
|
||||
virtual ~PLUGIN()
|
||||
{
|
||||
//printf( "~%s", __func__ );
|
||||
};
|
||||
{};
|
||||
|
||||
|
||||
#ifndef SWIG
|
||||
|
|
|
@ -86,9 +86,7 @@ public:
|
|||
m_itemIndex( aItemIndex ),
|
||||
m_type( LIBEVAL::VT_UNDEFINED ),
|
||||
m_isEnum( false )
|
||||
{
|
||||
//printf("*** CreateVarRef %p %d\n", this, aItemIndex );
|
||||
}
|
||||
{}
|
||||
|
||||
~PCB_EXPR_VAR_REF() {};
|
||||
|
||||
|
@ -123,7 +121,6 @@ public:
|
|||
PCB_EXPR_VAR_REF( aItemIndex )
|
||||
{
|
||||
SetType( LIBEVAL::VT_STRING );
|
||||
//printf("*** CreateVarRef %p %d\n", this, aItemIndex );
|
||||
}
|
||||
|
||||
LIBEVAL::VALUE* GetValue( LIBEVAL::CONTEXT* aCtx ) override;
|
||||
|
@ -138,7 +135,6 @@ public:
|
|||
PCB_EXPR_VAR_REF( aItemIndex )
|
||||
{
|
||||
SetType( LIBEVAL::VT_STRING );
|
||||
//printf("*** CreateVarRef %p %d\n", this, aItemIndex );
|
||||
}
|
||||
|
||||
LIBEVAL::VALUE* GetValue( LIBEVAL::CONTEXT* aCtx ) override;
|
||||
|
@ -152,7 +148,6 @@ public:
|
|||
PCB_EXPR_VAR_REF( aItemIndex )
|
||||
{
|
||||
SetType( LIBEVAL::VT_STRING );
|
||||
//printf("*** CreateVarRef %p %d\n", this, aItemIndex );
|
||||
}
|
||||
|
||||
LIBEVAL::VALUE* GetValue( LIBEVAL::CONTEXT* aCtx ) override;
|
||||
|
|
|
@ -99,7 +99,7 @@ NODE::~NODE()
|
|||
|
||||
for( ITEM* item : toDelete )
|
||||
{
|
||||
printf("del item %p type %s\n", item, item->KindStr().c_str() );
|
||||
wxLogTrace( wxT( "PNS" ), wxT( "del item %p type %s" ), item, item->KindStr().c_str() );
|
||||
delete item;
|
||||
}
|
||||
|
||||
|
|
|
@ -724,7 +724,6 @@ bool OPTIMIZER::mergeStep( LINE* aLine, SHAPE_LINE_CHAIN& aCurrentPath, int step
|
|||
|
||||
if( !checkColliding( aLine, bypass ) )
|
||||
{
|
||||
//printf("Chk-constraints: %d %d\n", n, n+step+1 );
|
||||
ok = checkConstraints ( n, n + step + 1, aLine, aCurrentPath, bypass );
|
||||
}
|
||||
|
||||
|
|
|
@ -92,8 +92,6 @@ void SOLID::SetPos( const VECTOR2I& aCenter )
|
|||
if( m_shape )
|
||||
m_shape->Move( delta );
|
||||
|
||||
//printf("Hole@%p\n", m_hole);
|
||||
|
||||
if( m_hole )
|
||||
m_hole->Move( delta );
|
||||
|
||||
|
|
Loading…
Reference in New Issue