group adjacent prefix now ignore case
1.8.5 - changed: `group adjacent prefix` prefix pattern now ignore case
This commit is contained in:
@@ -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(',')]
|
||||
|
||||
Reference in New Issue
Block a user