Commit ac47bdce by Celine Mercier

history: fixed DMS history when multiple inputs

parent 7f8d1e71
......@@ -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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment