kopia lustrzana https://github.com/inkstitch/inkstitch
only when command group is in selection
rodzic
c364863711
commit
fd5cf1a63e
|
@ -97,7 +97,8 @@ class Redwork(InkstitchExtension):
|
||||||
if command:
|
if command:
|
||||||
# remove command symbol
|
# remove command symbol
|
||||||
command_group = command.connector.getparent()
|
command_group = command.connector.getparent()
|
||||||
self.svg.selection.pop(command_group.get_id())
|
if command_group in self.svg.selection:
|
||||||
|
self.svg.selection.pop(command_group.get_id())
|
||||||
command_group.delete()
|
command_group.delete()
|
||||||
# return the first occurence directly
|
# return the first occurence directly
|
||||||
return command.target_point
|
return command.target_point
|
||||||
|
|
Ładowanie…
Reference in New Issue