Sfoglia il codice sorgente

Remove Copy of ...

Kentaro Wada 7 anni fa
parent
commit
509a2a39be
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      labelme/shape.py

+ 1 - 1
labelme/shape.py

@@ -182,7 +182,7 @@ class Shape(object):
         self._highlightIndex = None
 
     def copy(self):
-        shape = Shape("Copy of %s" % self.label )
+        shape = Shape(self.label)
         shape.points= [p for p in self.points]
         shape.fill = self.fill
         shape.selected = self.selected