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:
Tomasz Wlostowski
2024-11-02 19:59:08 +01:00
parent b1c515b98a
commit fd502efffb
+2
View File
@@ -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 );
}
}