router: VIA SetDrill() and SetPosition() must update the hole shape too.
This commit is contained in:
parent
325ab738b5
commit
57de83897a
|
@ -99,6 +99,7 @@ public:
|
|||
{
|
||||
m_pos = aPos;
|
||||
m_shape.SetCenter( aPos );
|
||||
m_hole.SetCenter( aPos );
|
||||
}
|
||||
|
||||
VIATYPE ViaType() const { return m_viaType; }
|
||||
|
@ -113,7 +114,7 @@ public:
|
|||
}
|
||||
|
||||
int Drill() const { return m_drill; }
|
||||
void SetDrill( int aDrill ) { m_drill = aDrill; }
|
||||
void SetDrill( int aDrill ) { m_drill = aDrill; m_hole.SetRadius( aDrill / 2 ); }
|
||||
|
||||
bool IsFree() const { return m_isFree; }
|
||||
void SetIsFree( bool aIsFree ) { m_isFree = aIsFree; }
|
||||
|
|
Loading…
Reference in New Issue