diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-09-01 23:29:41 +0400 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2011-09-01 23:29:41 +0400 |
commit | 8c95ab08f0c60b07a1caec14fccb28f5e40670e3 (patch) | |
tree | d335d8fa8706d7eca6f9a77929585ddba887fff0 | |
parent | a5afca907245460e8359f5ee6c4008825fa382c6 (diff) |
return ('FINISHED') -> return {'FINISHED'}
-rw-r--r-- | io_coat3D/__init__.py | 4 | ||||
-rw-r--r-- | io_coat3D/coat.py | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py index 9a787a02..9def1480 100644 --- a/io_coat3D/__init__.py +++ b/io_coat3D/__init__.py @@ -20,8 +20,8 @@ bl_info = { "name": "3D-Coat Applink", "author": "Kalle-Samuli Riihikoski (haikalle)", "version": (3, 5, 20), - "blender": (2, 5, 8), - "api": 35622, + "blender": (2, 5, 9), + "api": 39685, "location": "Scene > 3D-Coat Applink", "description": "Transfer data between 3D-Coat/Blender", "warning": "", diff --git a/io_coat3D/coat.py b/io_coat3D/coat.py index 07b30cef..4fb91d56 100644 --- a/io_coat3D/coat.py +++ b/io_coat3D/coat.py @@ -263,7 +263,7 @@ class SCENE_OT_export(bpy.types.Operator): file.close() coa.objectdir = checkname - return('FINISHED') + return {'FINISHED'} class SCENE_OT_import(bpy.types.Operator): @@ -383,7 +383,7 @@ class SCENE_OT_import(bpy.types.Operator): act_name.select = True bpy.context.scene.objects.active = act_first - return('FINISHED') + return {'FINISHED'} class SCENE_OT_import3b(bpy.types.Operator): bl_idname = "import3b_applink.pilgway_3d_coat" @@ -458,7 +458,7 @@ class SCENE_OT_import3b(bpy.types.Operator): tex.gettex(mat_list, new_obj, scene,export) - return('FINISHED') + return {'FINISHED'} class SCENE_OT_load3b(bpy.types.Operator): bl_idname = "import_applink.pilgway_3d_coat_3b" @@ -484,7 +484,7 @@ class SCENE_OT_load3b(bpy.types.Operator): file.close() - return('FINISHED') + return {'FINISHED'} class SCENE_OT_deltex(bpy.types.Operator): bl_idname = "import_applink.pilgway_3d_deltex" # XXX, name? @@ -512,7 +512,7 @@ class SCENE_OT_deltex(bpy.types.Operator): del_osoite = osoite + i os.remove(del_osoite) - return('FINISHED') + return {'FINISHED'} from bpy import * |