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:
authorKalle-Samuli Riihikoski <haikalle@gmail.com>2011-10-20 18:44:29 +0400
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2011-10-20 18:44:29 +0400
commit465d7a3d28558288ec8b7ba7b82dfe869e3c34aa (patch)
treec2f3d1b2c09cd8e2659449e169854ff71fcdd95e /io_coat3D
parentde8789b4f778f7fb9f5bb6ed562a38f1b13a30b0 (diff)
Small UI fix.
Diffstat (limited to 'io_coat3D')
-rw-r--r--io_coat3D/coat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_coat3D/coat.py b/io_coat3D/coat.py
index c06a0aac..d6bf96b4 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()