kopia lustrzana https://github.com/inkstitch/inkstitch
empty_d shape property (#1666)
rodzic
8ab4abf190
commit
0f3daecc63
|
@ -23,6 +23,7 @@ class EmptyDObject(EmbroideryElement):
|
|||
label = self.node.get(INKSCAPE_LABEL) or self.node.get("id")
|
||||
yield EmptyD((0, 0), label)
|
||||
|
||||
@property
|
||||
def shape(self):
|
||||
return
|
||||
|
||||
|
|
|
@ -34,6 +34,6 @@ class ObjectCommands(CommandsExtension):
|
|||
seen_nodes = set()
|
||||
|
||||
for element in self.elements:
|
||||
if element.node not in seen_nodes and element.shape():
|
||||
if element.node not in seen_nodes and element.shape:
|
||||
add_commands(element, commands)
|
||||
seen_nodes.add(element.node)
|
||||
|
|
Ładowanie…
Reference in New Issue