Skip to content
Snippets Groups Projects
Commit def938f7 authored by Nathan Lee's avatar Nathan Lee
Browse files

New arcs no longer slices before mouse let go

This should reduce reliance on the default constructor.
Introduced by 316d4c9b

(cherry-picked from c7ef69f4)
parent 05b83645
No related branches found
No related tags found
Loading
Pipeline #199023301 failed
......@@ -682,6 +682,9 @@ void SPGenericEllipse::position_set(gdouble x, gdouble y, gdouble rx, gdouble ry
}
this->arc_type = (GenericEllipseArcType)prefs->getInt("/tools/shapes/arc/arc_type", 0);
if (_isSlice()) {
this->type = SP_GENERIC_ELLIPSE_ARC;
}
this->requestDisplayUpdate(SP_OBJECT_MODIFIED_FLAG);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment