- 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:
Marius Stanciu
2022-02-11 10:42:03 +02:00
committed by Marius
parent 4b611f5ce3
commit 5421b65b9e
8 changed files with 45 additions and 13 deletions

View File

@@ -999,8 +999,9 @@ class ObjectCollection(QtCore.QAbstractItemModel):
# make sure that if the Properties Tab is selected then the Object UI is updated (built)
self.app.on_notebook_tab_changed()
# on Gerber object selection it will redrawn on top of the other Gerber objects
if self.app.defaults["gerber_plot_on_select"] is True:
self.app.on_enable_sel_plots(silent=True)
self.app.gerber_redraw()
# don't emit the signal if there is more than one objects selected
# this signal is intended to be emitted for a single selection in the collection view