PcbNew: fix Bezier curves not having bounding boxes at startup
(cherry picked from commit 40621de3559ee3993d7193a0faee5d0a777be848)
This commit is contained in:
parent
b485e78030
commit
f8c541c0d7
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue