Skip to content
Snippets Groups Projects
Commit 14e1bd55 authored by Michael Williamson's avatar Michael Williamson
Browse files

api fixes

parent b63d9bca
No related branches found
No related tags found
No related merge requests found
......@@ -535,7 +535,7 @@ class add_paint_layer(bpy.types.Operator):
def execute(self, context):
ttype = self.ttype
add_paint(context,typ= ttype)
return 'FINISHED'
return {'FINISHED'}
......@@ -583,14 +583,14 @@ def save_active_paint():
for m in ob.material_slots:
for ts in m.material.texture_slots:
save_painted(ts)
return('FINISHED')
return {'FINISHED'}
def save_all_paint():
#for all materials
for m in bpy.data.materials:
for ts in m.texture_slots:
save_painted(ts)
return('FINISHED')
return {'FINISHED'}
class save_all_generated(bpy.types.Operator):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment