PcbNew: fix Bezier curves not having bounding boxes at startup
This commit is contained in:
parent
cdaba24f0d
commit
adfc4d2485
|
@ -611,8 +611,9 @@ const EDA_RECT DRAWSEGMENT::GetBoundingBox() const
|
|||
|
||||
case S_CURVE:
|
||||
|
||||
for( unsigned ii = 0; ii < m_BezierPoints.size(); ++ii )
|
||||
bbox.Merge( m_BezierPoints[ii] );
|
||||
bbox.Merge( m_BezierC1 );
|
||||
bbox.Merge( m_BezierC2 );
|
||||
bbox.Merge( m_End );
|
||||
break;
|
||||
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue