Corrected debug information display call. Removed an unused variable.
This commit is contained in:
parent
94aaa47583
commit
f1e2a2c4c1
|
@ -667,12 +667,12 @@ SHOVE::SHOVE_STATUS SHOVE::pushVia( VIA* aVia, const VECTOR2I& aForce, int aCurr
|
||||||
|
|
||||||
pushedVia->SetRank( aCurrentRank - 1 );
|
pushedVia->SetRank( aCurrentRank - 1 );
|
||||||
|
|
||||||
replaceItems( aVia, std::move( pushedVia ) );
|
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
m_logger.Log( pushedVia, 1, "pushed-via" );
|
m_logger.Log( pushedVia.get(), 1, "pushed-via" );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
replaceItems( aVia, std::move( pushedVia ) );
|
||||||
|
|
||||||
for( LINE_PAIR lp : draggedLines )
|
for( LINE_PAIR lp : draggedLines )
|
||||||
{
|
{
|
||||||
if( lp.first.Marker() & MK_HEAD )
|
if( lp.first.Marker() & MK_HEAD )
|
||||||
|
@ -1222,8 +1222,6 @@ SHOVE::SHOVE_STATUS SHOVE::ShoveMultiLines( const ITEM_SET& aHeadSet )
|
||||||
if( !pushLine( head ) )
|
if( !pushLine( head ) )
|
||||||
return SH_INCOMPLETE;
|
return SH_INCOMPLETE;
|
||||||
|
|
||||||
VIA* headVia = NULL;
|
|
||||||
|
|
||||||
if( head.EndsWithVia() )
|
if( head.EndsWithVia() )
|
||||||
{
|
{
|
||||||
std::unique_ptr< VIA > headVia = Clone( head.Via() );
|
std::unique_ptr< VIA > headVia = Clone( head.Via() );
|
||||||
|
|
Loading…
Reference in New Issue