router: ensure rebuildJoint() does not leave dangling root node (with incorrect links) joint in case the (overridden) joint has same hash value but different linked items. Probably the oldest bug in P&S, I can't stop wondering how it had worked reasonably well for so many years :D
This commit is contained in:
@@ -817,6 +817,8 @@ void NODE::rebuildJoint( const JOINT* aJoint, const ITEM* aItem )
|
||||
{
|
||||
if( link != aItem )
|
||||
linkJoint( tag.pos, link->Layers(), net, link );
|
||||
else
|
||||
unlinkJoint( tag.pos, link->Layers(), net, link );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user