Fix insidious bug which resets layer of SOLID when marking collision.
It's supposed to be setting the layer of the collsion display object, not the host object, but there's a typo. Fixes https://gitlab.com/kicad/code/kicad/issues/7712
This commit is contained in:
parent
75032f3acd
commit
b36e1c741d
|
@ -435,7 +435,7 @@ void ROUTER::markViolations( NODE* aNode, ITEM_SET& aCurrent, NODE::ITEM_VECTOR&
|
|||
clearance = aNode->GetClearance( currentItem, itemToMark );
|
||||
|
||||
if( itemToMark->Layers().IsMultilayer() && !currentItem->Layers().IsMultilayer() )
|
||||
itemToMark->SetLayer( currentItem->Layer() );
|
||||
tmp->SetLayer( currentItem->Layer() );
|
||||
|
||||
if( itemToMark->Kind() == ITEM::SOLID_T )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue