fix json palette export
2.3.4 - fixed: bug when exporting json palettes containing empty material slotsgpv2
parent
aa0eb9bd25
commit
280a575631
|
@ -1,5 +1,9 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
2.3.4
|
||||||
|
|
||||||
|
- fixed: bug when exporting json palettes containing empty material slots
|
||||||
|
|
||||||
2.3.3
|
2.3.3
|
||||||
|
|
||||||
- fixed: Bug with animation manager objects data
|
- fixed: Bug with animation manager objects data
|
||||||
|
|
|
@ -129,6 +129,8 @@ class GPTB_OT_save_palette(bpy.types.Operator, ExportHelper):
|
||||||
dic = {}
|
dic = {}
|
||||||
allmat=[]
|
allmat=[]
|
||||||
for mat in ob.data.materials:
|
for mat in ob.data.materials:
|
||||||
|
if not mat:
|
||||||
|
continue
|
||||||
if not mat.is_grease_pencil:
|
if not mat.is_grease_pencil:
|
||||||
continue
|
continue
|
||||||
if mat in allmat:
|
if mat in allmat:
|
||||||
|
|
|
@ -4,7 +4,7 @@ bl_info = {
|
||||||
"name": "GP toolbox",
|
"name": "GP toolbox",
|
||||||
"description": "Tool set for Grease Pencil in animation production",
|
"description": "Tool set for Grease Pencil in animation production",
|
||||||
"author": "Samuel Bernou, Christophe Seux",
|
"author": "Samuel Bernou, Christophe Seux",
|
||||||
"version": (2, 3, 3),
|
"version": (2, 3, 4),
|
||||||
"blender": (3, 0, 0),
|
"blender": (3, 0, 0),
|
||||||
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
|
Loading…
Reference in New Issue