Commit dd0cca2c authored by Mathieu Tillet's avatar Mathieu Tillet
Browse files

Fix sector copy constructor

parent b4d0543e
......@@ -636,10 +636,13 @@ Shape2DSector::Shape2DSector(double innerRadius, double outerRadius,
Shape2DSector::Shape2DSector(const Shape2DSector &sector) {
Shape2DSector(sector.m_innerRadius, sector.m_outerRadius, sector.m_startAngle,
sector.m_endAngle, sector.m_center);
Shape2DSector::Shape2DSector(const Shape2DSector &sector)
: Shape2D(), m_innerRadius(sector.m_innerRadius),
m_outerRadius(sector.m_outerRadius), m_startAngle(sector.m_startAngle),
m_endAngle(sector.m_endAngle), m_center(sector.m_center) {
* @brief Shape2DSector::selectAt
* Checks if the sector can be selected at a given point
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment