diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py index 9a787a0264d0ee7706bc604e78feec8999b2a1ec..9def1480b9cc2a66e72d31106edbe2296ec22644 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 07b30cef31af8980be649701814c5a1365015fd6..4fb91d569f57f1c9cddda0740e580be94855ef2f 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 *