From d256c993854ea3ceec55ca29ce190fe5b13effbd Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Mon, 16 Dec 2019 17:33:58 +0200 Subject: [PATCH] - made sure that in Geometry Editor the self.app.mouse attribute is updated with the current mouse position (x, y) --- README.md | 1 + flatcamEditors/FlatCAMGeoEditor.py | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index d00048fe..d272b396 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,7 @@ CAD program, and create G-Code for Isolation routing. - fixed the Defaults upgrade overwrting the new version number with the old one - fixed issue with clear_polygon3() - the one who makes 'lines' and fixed the NCC Tool - some small changes in the FlatCAMGeoemtry.on_tool_add() method +- made sure that in Geometry Editor the self.app.mouse attribute is updated with the current mouse position (x, y) 15.12.2019 diff --git a/flatcamEditors/FlatCAMGeoEditor.py b/flatcamEditors/FlatCAMGeoEditor.py index 3d91703b..aad21d96 100644 --- a/flatcamEditors/FlatCAMGeoEditor.py +++ b/flatcamEditors/FlatCAMGeoEditor.py @@ -3835,6 +3835,7 @@ class FlatCAMGeoEditor(QtCore.QObject): self.snap_x = x self.snap_y = y + self.app.mouse = [x, y] # update the position label in the infobar since the APP mouse event handlers are disconnected self.app.ui.position_label.setText("    X: %.4f   "