fix rename norm

0.3.3:

fix: norm name : lowercase first (else bad naming break prefix)
main
Pullusb 2021-09-22 12:28:35 +02:00
parent d935cc0151
commit 3c37fb7dc1
3 changed files with 12 additions and 1 deletions

View File

@ -12,6 +12,15 @@ Activate / deactivate layer opaticty according to prefix
Activate / deactivate all masks using MA layers
-->
0.3.3:
fix: norm name : lowercase first (else bad naming break prefix)
0.3.2
- code: grouped output management ops
- fix: name dash to underscore (normalize)
0.3.1
- fix: renumbering in the right order (since top layers are at bottom of file output)

View File

@ -187,6 +187,8 @@ class GPEXP_OT_lower_layers_name(bpy.types.Operator):
if self.layer_name:
for l in ob.data.layers:
# if self.dash_to_undescore:
l.info = l.info.replace('-', '_')
fn.normalize_layer_name(l) # default : lower=True, dash_to_underscore=self.dash_to_undescore
return {"FINISHED"}

View File

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