Commit a551c05c authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix case issue with process type

parent 3b58e33e
...@@ -141,6 +141,9 @@ The background pattern was downloaded from www.subtlepatterns.com ...@@ -141,6 +141,9 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog Changelog
========= =========
1.5.41 (10/2017)
- Fix case issue with process types
1.5.40 (07/2017) 1.5.40 (07/2017)
- Fix range check in arrays - Fix range check in arrays
......
...@@ -4502,7 +4502,7 @@ def pr_file(root): ...@@ -4502,7 +4502,7 @@ def pr_file(root):
if each.instance_of_name is not None: if each.instance_of_name is not None:
# Find corresponding process type definition # Find corresponding process type definition
for p_type in process_types: for p_type in process_types:
if p_type.processName == each.instance_of_name: if p_type.processName.lower() == each.instance_of_name.lower():
each.instance_of_ref = p_type each.instance_of_ref = p_type
to_be_deleted.append(p_type) to_be_deleted.append(p_type)
break break
......
...@@ -139,7 +139,7 @@ except ImportError: ...@@ -139,7 +139,7 @@ except ImportError:
__all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse'] __all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse']
__version__ = '1.5.40' __version__ = '1.5.41'
if hasattr(sys, 'frozen'): if hasattr(sys, 'frozen'):
# Detect if we are running on Windows (py2exe-generated) # 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