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

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

Marius Stanciu 6 лет назад
Родитель
Сommit
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
 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 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
 25.03.2019
 
 

+ 0 - 1
camlib.py

@@ -3371,7 +3371,6 @@ class Gerber (Geometry):
         # self.solid_geometry = affinity.scale(self.solid_geometry,
         # self.solid_geometry = affinity.scale(self.solid_geometry,
         #                                      xscale, yscale, origin=(px, py))
         #                                      xscale, yscale, origin=(px, py))
 
 
-
     def skew(self, angle_x, angle_y, point):
     def skew(self, angle_x, angle_y, point):
         """
         """
         Shear/Skew the geometries of an object by angles along x and y dimensions.
         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):
     def on_paint_button_click(self):
         self.app.report_usage(_("geometry_on_paint_button"))
         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."))
         self.app.inform.emit(_("[WARNING_NOTCL]Click inside the desired polygon."))
         try:
         try: