router: can't add a clone of a VIA's hole when adding the via to INDEX - this will result in bogus colliding objects
This commit partially reverts deb3cbf8
. VIA and SOLID operator='s introduced in it do a good job but the cloning of holes in addHole() causes bogus collisions.
This commit is contained in:
parent
9b965f367a
commit
d25017dd5b
|
@ -525,11 +525,8 @@ void NODE::addHole( HOLE* aHole )
|
||||||
// do we need holes in the connection graph?
|
// do we need holes in the connection graph?
|
||||||
//linkJoint( aHole->Pos(), aHole->Layers(), aHole->Net(), aHole );
|
//linkJoint( aHole->Pos(), aHole->Layers(), aHole->Net(), aHole );
|
||||||
|
|
||||||
HOLE* hole = new HOLE( aHole->Shape()->Clone() );
|
aHole->SetOwner( this );
|
||||||
hole->SetLayers( aHole->Layers() );
|
m_index->Add( aHole );
|
||||||
|
|
||||||
hole->SetOwner( this );
|
|
||||||
m_index->Add( hole );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue