group adjacent prefix now ignore case

1.8.5

- changed: `group adjacent prefix` prefix pattern now ignore case
main
pullusb 2024-09-19 18:03:24 +02:00
parent 8be44fa1e5
commit b0f62a732d
3 changed files with 6 additions and 2 deletions

View File

@ -14,6 +14,10 @@ Activate / deactivate layer opacity according to prefix
Activate / deactivate all masks using MA layers
-->
1.8.5
- changed: `group adjacent prefix` prefix pattern now ignore case
1.8.4
- fix: select node from layer

View File

@ -2,7 +2,7 @@ bl_info = {
"name": "GP Render",
"description": "Organise export of gp layers through compositor output",
"author": "Samuel Bernou",
"version": (1, 8, 4),
"version": (1, 8, 5),
"blender": (3, 0, 0),
"location": "View3D",
"warning": "",

2
fn.py
View File

@ -591,7 +591,7 @@ def group_adjacent_layer_prefix_rlayer(ob, excluded_prefix=[], first_name=True):
'''
pattern = os.environ.get('GP_RENDER_MERGE_PATTERN', r'^([A-Z]{2})_')
re_prefix = re.compile(pattern)
re_prefix = re.compile(pattern, flags=re.IGNORECASE)
if isinstance(excluded_prefix, str):
excluded_prefix = [p.strip() for p in excluded_prefix.split(',')]