Commit 19c828d2 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Set current state when entering aggregation

parent d9aff34e
...@@ -255,6 +255,8 @@ LD_LIBRARY_PATH=. taste-gui -l ...@@ -255,6 +255,8 @@ LD_LIBRARY_PATH=. taste-gui -l
aggreg_start_proc.extend(u'runTransition({sub}{sep}START);' aggreg_start_proc.extend(u'runTransition({sub}{sep}START);'
.format(sub=subname, sep=UNICODE_SEP) .format(sub=subname, sep=UNICODE_SEP)
for subname in substates) for subname in substates)
aggreg_start_proc.append(u'{ctxt}.state := {name};'
.format(ctxt=LPREFIX, name=name))
aggreg_start_proc.extend([u'end {}{}START;' aggreg_start_proc.extend([u'end {}{}START;'
.format(name, UNICODE_SEP), .format(name, UNICODE_SEP),
'\n']) '\n'])
......
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