瀏覽代碼

- fixed bug: after using Paint Tool shortcut keys are disabled

Marius Stanciu 7 年之前
父節點
當前提交
0002d32341
共有 3 個文件被更改,包括 2 次插入2 次删除
  1. 1 0
      README.md
  2. 0 1
      camlib.py
  3. 1 1
      flatcamTools/ToolPaint.py

+ 1 - 0
README.md

@@ -12,6 +12,7 @@ CAD program, and create G-Code for Isolation routing.
 26.03.2019
 
 - fixed an issue where the Geometry plot function protested that it does not have an parameter that is used by the CNCJob plot function. But both inherit from FaltCAMObj plot function which does not have that parameter so something may need to be changed. Until then I provided a phony keyboard parameter to make that function 'shut up'
+- fixed bug: after using Paint Tool shortcut keys are disabled
 
 25.03.2019
 

+ 0 - 1
camlib.py

@@ -3371,7 +3371,6 @@ class Gerber (Geometry):
         # self.solid_geometry = affinity.scale(self.solid_geometry,
         #                                      xscale, yscale, origin=(px, py))
 
-
     def skew(self, angle_x, angle_y, point):
         """
         Shear/Skew the geometries of an object by angles along x and y dimensions.

+ 1 - 1
flatcamTools/ToolPaint.py

@@ -730,7 +730,7 @@ class ToolPaint(FlatCAMTool, Gerber):
 
     def on_paint_button_click(self):
         self.app.report_usage(_("geometry_on_paint_button"))
-        self.app.call_source = 'paint'
+        # self.app.call_source = 'paint'
 
         self.app.inform.emit(_("[WARNING_NOTCL]Click inside the desired polygon."))
         try: