parent
a11fd7a792
commit
21eb2c8dad
|
@ -41,7 +41,6 @@ HOLE* HOLE::Clone() const
|
||||||
{
|
{
|
||||||
HOLE* h = new HOLE( nullptr, m_holeShape->Clone() );
|
HOLE* h = new HOLE( nullptr, m_holeShape->Clone() );
|
||||||
|
|
||||||
h->SetNet( Net() );
|
|
||||||
h->SetLayers( Layers() );
|
h->SetLayers( Layers() );
|
||||||
h->SetOwner( nullptr );
|
h->SetOwner( nullptr );
|
||||||
|
|
||||||
|
|
|
@ -88,10 +88,10 @@ public:
|
||||||
m_pos = aB.m_pos;
|
m_pos = aB.m_pos;
|
||||||
m_diameter = aB.m_diameter;
|
m_diameter = aB.m_diameter;
|
||||||
m_shape = SHAPE_CIRCLE( m_pos, m_diameter / 2 );
|
m_shape = SHAPE_CIRCLE( m_pos, m_diameter / 2 );
|
||||||
SetHole( aB.m_hole->Clone() );
|
m_drill = aB.m_drill;
|
||||||
|
SetHole( HOLE::MakeCircularHole( m_pos, m_drill / 2 ) );
|
||||||
m_marker = aB.m_marker;
|
m_marker = aB.m_marker;
|
||||||
m_rank = aB.m_rank;
|
m_rank = aB.m_rank;
|
||||||
m_drill = aB.m_drill;
|
|
||||||
m_viaType = aB.m_viaType;
|
m_viaType = aB.m_viaType;
|
||||||
m_isFree = aB.m_isFree;
|
m_isFree = aB.m_isFree;
|
||||||
m_isVirtual = aB.m_isVirtual;
|
m_isVirtual = aB.m_isVirtual;
|
||||||
|
|
Loading…
Reference in New Issue