From c3185b2669fa2fc1a7338c9d5adf48d0db609a45 Mon Sep 17 00:00:00 2001 From: Marius Stanciu Date: Thu, 10 Dec 2020 17:49:34 +0200 Subject: [PATCH] - Drilling Tool - fixed a bug where this Tool will work on a previous version of the selected Excellon object (in case that the object was altered between launch of the Drilling Tool and the GCode generation) --- CHANGELOG.md | 1 + appTools/ToolDrilling.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28a8e9a2..f02668e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ CHANGELOG for FlatCAM beta - minor changes to the UI to all Tools with 'Beginner/Advanced' Mode - Film Tool - remade the 'Beginner/Advanced' Mode - 2Sided Tool - remade the 'Beginner/Advanced' Mode +- Drilling Tool - fixed a bug where this Tool will work on a previous version of the selected Excellon object (in case that the object was altered between launch of the Drilling Tool and the GCode generation) 9.11.2020 diff --git a/appTools/ToolDrilling.py b/appTools/ToolDrilling.py index f192ff64..dee9e143 100644 --- a/appTools/ToolDrilling.py +++ b/appTools/ToolDrilling.py @@ -1814,6 +1814,9 @@ class ToolDrilling(AppTool, Excellon): self.app.inform.emit('[ERROR_NOTCL] %s.' % _("Object not found")) return + # update the Excellon Tools + self.excellon_tools = obj.tools + xmin = obj.options['xmin'] ymin = obj.options['ymin'] xmax = obj.options['xmax']