Explorar el Código

Fill polygon by color for ai_polygon

Kentaro Wada hace 1 año
padre
commit
ea38ce0b04
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      labelme/widgets/canvas.py

+ 1 - 0
labelme/widgets/canvas.py

@@ -770,6 +770,7 @@ class Canvas(QtWidgets.QWidget):
                 point=self.line.points[1],
                 label=self.line.point_labels[1],
             )
+            drawing_shape.selected = True
             points = self._ai_model.predict_polygon_from_points(
                 points=[
                     [point.x(), point.y()] for point in drawing_shape.points