소스 검색

- 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: