PcbNew: fix Bezier curves not having bounding boxes at startup

This commit is contained in:
Jon Evans 2019-05-28 23:39:08 -04:00
parent cdaba24f0d
commit adfc4d2485
1 changed files with 3 additions and 2 deletions

View File

@ -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: