Revision: 15073
          
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15073
Author:   campbellbarton
Date:     2008-05-31 21:08:12 +0200 (Sat, 31 May 2008)

Log Message:
-----------
bugfix for own error
glitch when typing in / would ask the user to make a new directory. the last 
shash was being removed, then the "" path didnt exist and 
asked to create it.

Modified Paths:
--------------
    trunk/blender/source/blender/src/filesel.c

Modified: trunk/blender/source/blender/src/filesel.c
===================================================================
--- trunk/blender/source/blender/src/filesel.c  2008-05-31 19:01:14 UTC (rev 
15072)
+++ trunk/blender/source/blender/src/filesel.c  2008-05-31 19:08:12 UTC (rev 
15073)
@@ -1591,7 +1591,7 @@
                BLI_del_slash(butname);
                
                if(sfile->type & FILE_UNIX) {
-                       if (!BLI_exists(butname)) {
+                       if (butname[0] != '\0' && !BLI_exists(butname)) {
                                if (okee("Makedir")) {
                                        BLI_recurdir_fileops(butname);
                                        if (!BLI_exists(butname)) parent(sfile);


_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to