history: fixed DMS history when multiple inputs

This commit is contained in:
Celine Mercier
2019-03-31 15:44:20 +02:00
parent 7f8d1e7196
commit ac47bdce5d

View File

@ -450,15 +450,14 @@ cdef class View(OBIWrapper) :
s+=invi_node_name_quotes
s+=b" [width=0, style=invis, shape=point]\n"
history.append(s)
for input in level:
# Connect all inputs to the invisible node
for elt in input:
s = b"\t"
s = s+b"\""+elt+b"\""
s+=b" -> "
s+=invi_node_name_quotes
s+=b" [arrowhead=none]\n"
history.append(s)
# Connect all inputs to the invisible node
for elt in input:
s = b"\t"
s = s+b"\""+elt+b"\""
s+=b" -> "
s+=invi_node_name_quotes
s+=b" [arrowhead=none]\n"
history.append(s)
to_connect_to_command = invi_node_name_no_quotes
else:
to_connect_to_command = input[0]