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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-26 13:41:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-26 13:41:35 +0400
commit33ad2771cd15e7189f1fde92afd671e9c258a0a7 (patch)
tree568e237fee03adfb7f9e357e501d0161b74b9d8b /light_field_tools
parentf9e21740384cdc7c0576004167760f026bc2661f (diff)
fix for bad operator return value
Diffstat (limited to 'light_field_tools')
-rw-r--r--light_field_tools/light_field_tools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/light_field_tools/light_field_tools.py b/light_field_tools/light_field_tools.py
index 89aa80fa..8e96513c 100644
--- a/light_field_tools/light_field_tools.py
+++ b/light_field_tools/light_field_tools.py
@@ -295,7 +295,7 @@ class OBJECT_OT_create_lightfield_rig(bpy.types.Operator):
else:
self.createLightfieldEmitter(textured=False)
- return 'FINISHED'
+ return {'FINISHED'}
@@ -389,7 +389,7 @@ class OBJECT_OT_create_lightfield_basemesh(bpy.types.Operator):
mesh.from_pydata(verts, [], [])
self.addMeshObj(mesh)
- return 'FINISHED'
+ return {'FINISHED'}