diff options
Diffstat (limited to 'io_coat3D')
-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 * |