Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <michaelw@cowtoolsmedia.co.uk>2011-10-04 14:44:26 +0400
committerMichael Williamson <michaelw@cowtoolsmedia.co.uk>2011-10-04 14:44:26 +0400
commit14e1bd556c576ef4266a29102b1c55386c7591d0 (patch)
treef0331899cc638e38b7cb11ed1cefed8f0f7aabfc /texture_paint_layer_manager.py
parentb63d9bcaabe646e72a2369dd36992aea2094d1df (diff)
api fixes
Diffstat (limited to 'texture_paint_layer_manager.py')
-rw-r--r--texture_paint_layer_manager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/texture_paint_layer_manager.py b/texture_paint_layer_manager.py
index 24b7b3ec..0a8a332e 100644
--- a/texture_paint_layer_manager.py
+++ b/texture_paint_layer_manager.py
@@ -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):