Commit b580ef70 authored by Tom Wlostowski's avatar Tom Wlostowski Committed by Wayne Stambaugh

Fix segfault in P&S router.

parent 7977ac54
......@@ -189,6 +189,9 @@ bool PNS_MEANDER_PLACER::doMove( const VECTOR2I& aP, PNS_ITEM* aEndItem, int aTa
bool PNS_MEANDER_PLACER::FixRoute( const VECTOR2I& aP, PNS_ITEM* aEndItem )
{
if( !m_currentNode )
return false;
m_currentTrace = PNS_LINE( *m_originLine, m_finalShape );
m_currentNode->Add( &m_currentTrace );
......
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