diff options
author | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2013-05-15 12:48:32 +0400 |
---|---|---|
committer | Kalle-Samuli Riihikoski <haikalle@gmail.com> | 2013-05-15 12:48:32 +0400 |
commit | 8ad05ed0f74db966e36c626dc26abdae0c3588a7 (patch) | |
tree | 3afd6d1be126778828e50ba9e22bbd86a6d5e681 | |
parent | 8c47cd336de159554710629a012a36286e50aa72 (diff) |
Now if applink dosen't find V4 exchange folder, it will look for V3 folder.
-rw-r--r-- | io_coat3D/coat.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/io_coat3D/coat.py b/io_coat3D/coat.py index 1c439baa..7476bc96 100644 --- a/io_coat3D/coat.py +++ b/io_coat3D/coat.py @@ -33,8 +33,12 @@ def set_exchange_folder(): if(platform == 'win32'): exchange = os.path.expanduser("~") + os.sep + 'Documents' + os.sep + '3D-CoatV4' + os.sep +'Exchange' + if not(os.path.isdir(exchange)): + exchange = os.path.expanduser("~") + os.sep + 'Documents' + os.sep + '3D-CoatV3' + os.sep +'Exchange' else: exchange = os.path.expanduser("~") + os.sep + '3D-CoatV4' + os.sep + 'Exchange' + if not(os.path.isdir(exchange)): + exchange = os.path.expanduser("~") + os.sep + '3D-CoatV3' + os.sep + 'Exchange' if(not(os.path.isdir(exchange))): exchange = coat3D.exchangedir |