- QRCode Tool: change the plot method parameter

This commit is contained in:
Marius Stanciu 2019-10-25 02:54:13 +03:00 committed by Marius
parent 7cbc3c657a
commit ae7fbdf7c0
2 changed files with 3 additions and 4 deletions

View File

@ -16,6 +16,7 @@ CAD program, and create G-Code for Isolation routing.
- small update
- fixed imports in all TclCommands
- fixed the requirements.txt and setup_ubuntu.sh files
- QRCode Tool: change the plot method parameter
24.10.2019

View File

@ -445,7 +445,7 @@ class QRCode(FlatCAMTool):
self.grb_object.source_file = self.app.export_gerber(obj_name=self.grb_object.options['name'], filename=None,
local_use=self.grb_object, use_thread=False)
self.replot()
self.replot(obj=self.grb_object)
def draw_utility_geo(self, pos):
@ -582,9 +582,7 @@ class QRCode(FlatCAMTool):
else:
yield item
def replot(self):
obj = self.grb_object
def replot(self, obj):
def worker_task():
with self.app.proc_container.new('%s...' % _("Plotting")):
obj.plot()