Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
1d4a3542
Commit
1d4a3542
authored
May 30, 2015
by
Maxime Perrotin
Browse files
Create a textbox for process FPAR only if needed
parent
719f1273
Changes
1
Hide whitespace changes
Inline
Side-by-side
opengeode/Renderer.py
View file @
1d4a3542
...
...
@@ -153,7 +153,7 @@ def _automaton(ast, scene):
top_level_symbols
.
append
(
new_state
)
# If the source .pr contained FPAR outside a textbox, create one
if
ast
.
parent
.
fpar
:
if
ast
.
parent
.
fpar
and
not
any
(
x
.
fpar
for
x
in
ast
.
textAreas
)
:
text_area
=
ogAST
.
TextArea
()
fpars
=
(
'{} {}'
.
format
(
fp
[
'name'
],
type_name
(
fp
[
'type'
]).
replace
(
'-'
,
'_'
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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