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
1d099988
Commit
1d099988
authored
Mar 20, 2017
by
Maxime Perrotin
Browse files
Fix symbol creation
parent
f9325401
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/sdlSymbols.py
View file @
1d099988
...
...
@@ -1016,8 +1016,9 @@ class Process(HorizontalSymbol):
def
__init__
(
self
,
ast
=
None
,
subscene
=
None
):
ast
=
ast
or
ogAST
.
Process
()
self
.
ast
=
ast
label
=
ast
.
processName
+
(
': {}'
.
format
(
ast
.
instance_of_name
)
\
if
ast
.
instance_of_name
else
''
)
label
=
(
ast
.
processName
or
""
)
+
(
': {}'
.
format
(
ast
.
instance_of_name
)
if
ast
.
instance_of_name
else
''
)
super
(
Process
,
self
).
__init__
(
parent
=
None
,
text
=
label
,
x
=
ast
.
pos_x
,
...
...
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