group adjacent prefix now ignore case

1.8.5

- changed: `group adjacent prefix` prefix pattern now ignore case
This commit is contained in:
pullusb
2024-09-19 18:03:24 +02:00
parent 8be44fa1e5
commit b0f62a732d
3 changed files with 6 additions and 2 deletions
+1 -1
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(',')]