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