Commit 672a1c3f authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Merge https://github.com/esa/opengeode into feature_buster

parents 1755877f 53455dac
......@@ -124,6 +124,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
**3.4.2 (03/2021)**
- Minor bugfix
**3.4.1 (03/2021)**
- Fix support of remote synchronous calls
......
......@@ -5493,15 +5493,16 @@ def pr_file(root):
res = rec_find_process_parent(nested, proc_name)
if res:
return nested
for proc in block.processes:
if proc.processName.lower() == proc_name.lower():
return block
proc_parent = ast
if isinstance(block, ogAST.Block):
for proc in block.processes:
if proc.processName.lower() == proc_name.lower():
return block
return None
for system in ast.systems:
proc_parent = rec_find_process_parent(system, processName)
if proc_parent:
break
process, err, warn = process_definition(child, parent=proc_parent)
process, err, warn = process_definition(child, parent=proc_parent or ast)
# check if the process was declared as referenced with FPAR
for each in ref_p_with_fpar:
if each.processName == process.processName:
......
......@@ -141,7 +141,7 @@ except ImportError:
__all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse']
__version__ = '3.4.1'
__version__ = '3.4.2'
if hasattr(sys, 'frozen'):
# Detect if we are running on Windows (py2exe-generated)
......
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