Automatically constrain arc or rectangle points.

This commit is contained in:
whitequark 2017-01-11 04:16:48 +00:00
parent 55ae10b5b8
commit 855de072be
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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();