[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4526] trunk/py/scripts/addons/ io_coat3D/coat.py: Now if applink dosen't find V4 exchange folder, it will look for V3 folder.
Kalle-Samuli Riihikoski
haikalle at gmail.com
Wed May 15 10:48:32 CEST 2013
Revision: 4526
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4526
Author: haikalle
Date: 2013-05-15 08:48:32 +0000 (Wed, 15 May 2013)
Log Message:
-----------
Now if applink dosen't find V4 exchange folder, it will look for V3 folder.
Modified Paths:
--------------
trunk/py/scripts/addons/io_coat3D/coat.py
Modified: trunk/py/scripts/addons/io_coat3D/coat.py
===================================================================
--- trunk/py/scripts/addons/io_coat3D/coat.py 2013-05-15 05:41:38 UTC (rev 4525)
+++ trunk/py/scripts/addons/io_coat3D/coat.py 2013-05-15 08:48:32 UTC (rev 4526)
@@ -33,8 +33,12 @@
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
More information about the Bf-extensions-cvs
mailing list