- changed the self.info() functions to signal self.inform.emit() and
the signal is emitted only once per operation not for each object in selection.
This commit is contained in:
@@ -1526,7 +1526,7 @@ class App(QtCore.QObject):
|
|||||||
for obj in obj_list:
|
for obj in obj_list:
|
||||||
obj.mirror('X', [px, py])
|
obj.mirror('X', [px, py])
|
||||||
obj.plot()
|
obj.plot()
|
||||||
self.info('Flipped on the X axis ...')
|
self.inform.emit('Flipped on the X axis ...')
|
||||||
|
|
||||||
def on_flipy(self):
|
def on_flipy(self):
|
||||||
obj_list = self.collection.get_selected()
|
obj_list = self.collection.get_selected()
|
||||||
@@ -1567,7 +1567,7 @@ class App(QtCore.QObject):
|
|||||||
for obj in obj_list:
|
for obj in obj_list:
|
||||||
obj.mirror('Y', [px, py])
|
obj.mirror('Y', [px, py])
|
||||||
obj.plot()
|
obj.plot()
|
||||||
self.info('Flipped on the Y axis ...')
|
self.inform.emit('Flipped on the Y axis ...')
|
||||||
|
|
||||||
def on_delete(self):
|
def on_delete(self):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user