PcbNew: fix Bezier curves not having bounding boxes at startup

(cherry picked from commit 40621de3559ee3993d7193a0faee5d0a777be848)
This commit is contained in:
Jon Evans 2019-05-28 23:39:08 -04:00
parent b485e78030
commit f8c541c0d7
1 changed files with 3 additions and 2 deletions

View File

@ -558,8 +558,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: