- QRCode Tool: change the plot method parameter
This commit is contained in:
parent
7cbc3c657a
commit
ae7fbdf7c0
@ -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
|
||||
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user