diff --git a/CHANGELOG.md b/CHANGELOG.md index bad5823..7e2220d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ New sketch features: the entity from a request is selected. For example, dragging a point on a face of an extrusion coincident with the source sketch plane will drag the point from the source sketch. + * When dragging an arc or rectangle point, it will be automatically + constrained to other points with a click. New export/import features: * Three.js: allow configuring projection for exported model, and initially diff --git a/src/mouse.cpp b/src/mouse.cpp index 480a53f..9700b1c 100644 --- a/src/mouse.cpp +++ b/src/mouse.cpp @@ -1108,11 +1108,10 @@ void GraphicsWindow::MouseLeftDown(double mx, double my) { break; case Pending::DRAGGING_RADIUS: - case Pending::DRAGGING_NEW_POINT: - // The MouseMoved event has already dragged it as desired. ClearPending(); break; + case Pending::DRAGGING_NEW_POINT: case Pending::DRAGGING_NEW_ARC_POINT: ConstrainPointByHovered(pending.point); ClearPending();