Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
9764a438
Commit
9764a438
authored
Jul 01, 2020
by
Maxime Perrotin
Browse files
Fix parsing of process type
parent
d0c288e3
Changes
1
Show whitespace changes
Inline
Side-by-side
opengeode/Pr.py
View file @
9764a438
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment