]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #2059 point in sketch is created not on selected line of external sketchPlane...
authornds <nds@opencascade.com>
Wed, 5 Apr 2017 10:03:23 +0000 (13:03 +0300)
committernds <nds@opencascade.com>
Wed, 5 Apr 2017 10:03:23 +0000 (13:03 +0300)
src/PartSet/PartSet_WidgetPoint2d.cpp

index 8e556448f93f3d721edf27e82f0b2bc0aac48bff..150b5909561c2e915fd3a752ed72217948aa7086 100644 (file)
@@ -593,10 +593,11 @@ void PartSet_WidgetPoint2D::mouseReleased(ModuleBase_IViewWindow* theWindow, QMo
           setPoint(aX, aY);
         else {
           if (aShape.ShapeType() == TopAbs_EDGE) {
-            // point is taken from mouse event and set in attribute. It should be done before setting
+            // point is taken from mouse event and set in attribute. It should be done before set
             // coinident constraint to the external line. If a point is created, it should be in
             // the mouse clicked point
-            gp_Pnt aPoint = PartSet_Tools::convertClickToPoint(theEvent->pos(), theWindow->v3dView());
+            gp_Pnt aPoint = PartSet_Tools::convertClickToPoint(theEvent->pos(),
+                                                               theWindow->v3dView());
             PartSet_Tools::convertTo2D(aPoint, mySketch, aView, aX, aY);
             setPoint(aX, aY);
           }