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?
|
||||
//linkJoint( aHole->Pos(), aHole->Layers(), aHole->Net(), aHole );
|
||||
|
||||
HOLE* hole = new HOLE( aHole->Shape()->Clone() );
|
||||
hole->SetLayers( aHole->Layers() );
|
||||
|
||||
hole->SetOwner( this );
|
||||
m_index->Add( hole );
|
||||
aHole->SetOwner( this );
|
||||
m_index->Add( aHole );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue