diff --git a/SketchWidget.py b/SketchWidget.py index 5794189..112a5e7 100644 --- a/SketchWidget.py +++ b/SketchWidget.py @@ -455,7 +455,13 @@ class SketchWidget: def do_circle_left_click(self, x, y): pt = self.screenPtToPt((x, self.size[1] - y)) if self.drawingShape is None: + hsp = self.hover_snap_ptref + if hsp is not None: + pt = hsp.getPt() self.drawingShape = Circle(pt[0], pt[1], 0) + if hsp is not None: + c = Connect(hsp.shape, hsp.ptNum, self.drawingShape, 0) + self.drawingConstraints['c'] = c else: self.add_snap_ptrefs_from_shape(self.drawingShape) self.merge_in_drawing_shape()