Fix moving tuning patterns, disable rotation.
This commit is contained in:
parent
dc9df9517d
commit
78c7dc85f0
|
@ -129,16 +129,12 @@ public:
|
||||||
m_end += aMoveVector;
|
m_end += aMoveVector;
|
||||||
|
|
||||||
PCB_GROUP::Move( aMoveVector );
|
PCB_GROUP::Move( aMoveVector );
|
||||||
|
|
||||||
if( m_baseLine )
|
|
||||||
m_baseLine->Move( aMoveVector );
|
|
||||||
|
|
||||||
if( m_baseLineCoupled )
|
|
||||||
m_baseLineCoupled->Move( aMoveVector );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Rotate( const VECTOR2I& aRotCentre, const EDA_ANGLE& aAngle ) override
|
void Rotate( const VECTOR2I& aRotCentre, const EDA_ANGLE& aAngle ) override
|
||||||
{
|
{
|
||||||
|
// Not supported for tuning patterns
|
||||||
|
#if 0
|
||||||
RotatePoint( m_origin, aRotCentre, aAngle );
|
RotatePoint( m_origin, aRotCentre, aAngle );
|
||||||
RotatePoint( m_end, aRotCentre, aAngle );
|
RotatePoint( m_end, aRotCentre, aAngle );
|
||||||
PCB_GROUP::Rotate( aRotCentre, aAngle );
|
PCB_GROUP::Rotate( aRotCentre, aAngle );
|
||||||
|
@ -147,7 +143,8 @@ public:
|
||||||
m_baseLine->Rotate( aAngle, aRotCentre );
|
m_baseLine->Rotate( aAngle, aRotCentre );
|
||||||
|
|
||||||
if( m_baseLineCoupled )
|
if( m_baseLineCoupled )
|
||||||
m_baseLineCoupled->Rotate( aAngle, aRotCentre );
|
m_baseLineCoupled->Rotate( aAngle, aRotCentre );*/
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
const BOX2I GetBoundingBox() const override
|
const BOX2I GetBoundingBox() const override
|
||||||
|
|
Loading…
Reference in New Issue