projects
/
blender-staging.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
576035f
)
patch [#27205] Infinite recursion inside resolve_ncase() when passed a driver letter...
author
Campbell Barton <ideasman42@gmail.com>
Fri, 6 May 2011 11:27:04 +0000
(11:27 +0000)
committer
Campbell Barton <ideasman42@gmail.com>
Fri, 6 May 2011 11:27:04 +0000
(11:27 +0000)
by Brandon Ehle (azverkan)
release/scripts/modules/bpy/path.py
patch
|
blob
|
history
diff --git
a/release/scripts/modules/bpy/path.py
b/release/scripts/modules/bpy/path.py
index 9a29b713882b5985152712756dc9f9fa3c88779c..f7e5b988cc8e3e80b5a313dc4c6229aea3eac668 100644
(file)
--- a/
release/scripts/modules/bpy/path.py
+++ b/
release/scripts/modules/bpy/path.py
@@
-144,6
+144,9
@@
def resolve_ncase(path):
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: