Revision: 36514
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36514
Author:   campbellbarton
Date:     2011-05-06 11:27:04 +0000 (Fri, 06 May 2011)
Log Message:
-----------
patch [#27205] Infinite recursion inside resolve_ncase() when passed a driver 
letter on Windows that does not exist
by Brandon Ehle (azverkan)

Modified Paths:
--------------
    trunk/blender/release/scripts/modules/bpy/path.py

Modified: trunk/blender/release/scripts/modules/bpy/path.py
===================================================================
--- trunk/blender/release/scripts/modules/bpy/path.py   2011-05-06 11:03:09 UTC 
(rev 36513)
+++ trunk/blender/release/scripts/modules/bpy/path.py   2011-05-06 11:27:04 UTC 
(rev 36514)
@@ -144,6 +144,9 @@
             dirpath = os.path.dirname(dirpath)
 
         if not os.path.exists(dirpath):
+            if dirpath == path:
+                return path, False
+
             dirpath, found = _ncase_path_found(dirpath)
 
             if not found:

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to