Explorar el Código

Initialize Canvas.movingShape=False

Kentaro Wada hace 7 años
padre
commit
660c2e2847
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      labelme/canvas.py

+ 1 - 0
labelme/canvas.py

@@ -52,6 +52,7 @@ class Canvas(QtWidgets.QWidget):
         self.hideBackround = False
         self.hShape = None
         self.hVertex = None
+        self.movingShape = False
         self._painter = QtGui.QPainter()
         self._cursor = CURSOR_DEFAULT
         # Menus: