- a new feature that when selecting an object in the Project Tab, that object is redrawn over the other objects, in top position. Feature controlled from Preferences -> Gerber -> General.
This commit is contained in:
@@ -913,7 +913,7 @@ class GerberObject(FlatCAMObj, Gerber):
|
||||
:param kwargs: Color and face_color, visible
|
||||
:return:
|
||||
"""
|
||||
self.app.log.debug(str(inspect.stack()[1][3]) + " --> GerberObject.plot()")
|
||||
# self.app.log.debug(str(inspect.stack()[1][3]) + " --> GerberObject.plot()")
|
||||
|
||||
# Does all the required setup and returns False
|
||||
# if the 'ptint' option is set to False.
|
||||
|
||||
@@ -999,7 +999,10 @@ 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()
|
||||
|
||||
# don't emit the signal if there more than one objects selected
|
||||
if self.app.defaults["gerber_plot_on_select"] is True:
|
||||
self.app.on_enable_sel_plots(silent=True)
|
||||
|
||||
# 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
|
||||
if len(self.get_selected()) == 1:
|
||||
self.app.proj_selection_changed.emit(current, previous)
|
||||
|
||||
Reference in New Issue
Block a user