- fixed a bug in rotate from shortcut function

- finished generating the solder paste dispense geometry
This commit is contained in:
Marius Stanciu
2019-02-20 03:27:17 +02:00
committed by Marius S
parent bd7a82e116
commit 3ee6eb4a87
4 changed files with 102 additions and 13 deletions

View File

@@ -4076,7 +4076,7 @@ class App(QtCore.QObject):
py = 0.5 * (yminimal + ymaximal)
for sel_obj in obj_list:
sel_obj.rotate(-num, point=(px, py))
sel_obj.rotate(-float(num), point=(px, py))
sel_obj.plot()
self.object_changed.emit(sel_obj)
self.inform.emit("[success] Rotation done.")