Przeglądaj źródła

- fixed a bug that created desync on rotate multiple objects that were
offseted from origin

Marius Stanciu 7 lat temu
rodzic
commit
782f784dee
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      FlatCAMApp.py

+ 1 - 0
FlatCAMApp.py

@@ -1615,6 +1615,7 @@ class App(QtCore.QObject):
                     xmaximal = max(xmaxlist)
                     ymaximal = max(ymaxlist)
 
+                for sel_obj in obj_list:
                     px = 0.5 * (xminimal + xmaximal)
                     py = 0.5 * (yminimal + ymaximal)