Parcourir la source

Remove Copy of ...

Kentaro Wada il y a 7 ans
Parent
commit
509a2a39be
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      labelme/shape.py

+ 1 - 1
labelme/shape.py

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