Просмотр исходного кода

- in Paint Tool, when painting single polygon, when clicking on canvas for the polygon there is no longer a selection of the entire object

Marius Stanciu 7 лет назад
Родитель
Сommit
700222d5dc
3 измененных файлов с 7 добавлено и 1 удалено
  1. 1 1
      FlatCAMApp.py
  2. 4 0
      README.md
  3. 2 0
      flatcamTools/ToolPaint.py

+ 1 - 1
FlatCAMApp.py

@@ -93,7 +93,7 @@ class App(QtCore.QObject):
 
 
     # Version
     # Version
     version = 8.907
     version = 8.907
-    version_date = "2019/02/6"
+    version_date = "2019/02/7"
     beta = True
     beta = True
 
 
     # current date now
     # current date now

+ 4 - 0
README.md

@@ -9,6 +9,10 @@ CAD program, and create G-Code for Isolation routing.
 
 
 =================================================
 =================================================
 
 
+7.02.2019
+
+- in Paint Tool, when painting single polygon, when clicking on canvas for the polygon there is no longer a selection of the entire object
+
 6.02.2019
 6.02.2019
 
 
 - fixed the units calculators crash FlatCAM when using comma as decimal separator
 - fixed the units calculators crash FlatCAM when using comma as decimal separator

+ 2 - 0
flatcamTools/ToolPaint.py

@@ -750,7 +750,9 @@ class ToolPaint(FlatCAMTool, Gerber):
                                     overlap=overlap,
                                     overlap=overlap,
                                     connect=connect,
                                     connect=connect,
                                     contour=contour)
                                     contour=contour)
+                    self.app.plotcanvas.vis_connect('mouse_press', self.app.on_mouse_click_over_plot)
 
 
+            self.app.plotcanvas.vis_disconnect('mouse_press', self.app.on_mouse_click_over_plot)
             self.app.plotcanvas.vis_connect('mouse_press', doit)
             self.app.plotcanvas.vis_connect('mouse_press', doit)
 
 
     def paint_poly(self, obj, inside_pt, tooldia, overlap,
     def paint_poly(self, obj, inside_pt, tooldia, overlap,