diff --git a/io_coat3D/coat.py b/io_coat3D/coat.py index c06a0aac252607ca746c96ae68cb70dddcdd53dd..d6bf96b4f7a490a237c2c94dd93c22dca89b5b43 100644 --- a/io_coat3D/coat.py +++ b/io_coat3D/coat.py @@ -162,7 +162,7 @@ class SCENE_OT_export(bpy.types.Operator): activeobj = bpy.context.active_object.name obj = scene.objects[activeobj] coa = bpy.context.scene.objects.active.coat3D - coat3D.exchangedir = bpy.coat3D['active_coat'] + coat3D.exchangedir = set_exchange_folder() export_ok = False folder_objects,folder_textures = set_working_folders() @@ -258,7 +258,7 @@ class SCENE_OT_import(bpy.types.Operator): test = bpy.context.selected_objects act_first = bpy.context.scene.objects.active bpy.context.scene.game_settings.material_mode = 'GLSL' - coat3D.exchangedir = bpy.coat3D['active_coat'] + coat3D.exchangedir = set_exchange_folder() folder_objects,folder_textures = set_working_folders()