Commit 9764a438 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix parsing of process type

parent d0c288e3
......@@ -54,9 +54,12 @@ def parse_scene(scene, full_model=False):
# Parse text areas to retrieve signal names USELESS
pr = generate(each)
pr_data.extend(pr)
if processes:
to_env = processes[0].connection.out_sig
from_env = processes[0].connection.in_sig
for pro in processes:
if isinstance(pro, sdlSymbols.ProcessType):
# process type does not have connections
continue
to_env = pro.connection.out_sig
from_env = pro.connection.in_sig
if to_env or from_env:
channels.append('channel c')
Indent.indent += 1
......
Supports Markdown
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