- made sure that the new feature of redrawing Gerber on top is not activated when that Gerber object is disabled
- added ability to turn off the outline plotting for Gerber objects (will speed up the plotting but the plotting visual quality will degrade); controlled from Preferences -> Gerber -> General - plotting visuals in 3d graphic mode will no longer create some unnecessary lists
This commit is contained in:
12
app_Main.py
12
app_Main.py
@@ -8993,6 +8993,18 @@ class App(QtCore.QObject):
|
||||
# Clear pool to free memory
|
||||
self.clear_pool()
|
||||
|
||||
def gerber_redraw(self):
|
||||
obj = self.collection.get_active()
|
||||
if obj.options['plot'] is False or obj.kind != 'gerber':
|
||||
# we don't replot something that is disabled or if it is not Gerber type
|
||||
return
|
||||
|
||||
def worker_task(plot_obj):
|
||||
with self.proc_container.new(''):
|
||||
plot_obj.plot(visible=True)
|
||||
|
||||
self.worker_task.emit({'fcn': worker_task, 'params': [obj]})
|
||||
|
||||
def on_set_color_action_triggered(self):
|
||||
"""
|
||||
This slot gets called by clicking on the menu entry in the Set Color submenu of the context menu in Project Tab
|
||||
|
||||
Reference in New Issue
Block a user