diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-18 03:10:11 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-18 03:10:11 +0300 |
commit | 86baf7c937c4bcac1c9ebf516e2aa2a79ec2f6fc (patch) | |
tree | 110e3478b8ce74f6af02f8d20f7e1874f807e8c1 /source/blender/python | |
parent | 398935163264df0f9937230d06184712f4a367b8 (diff) |
option for the path iterator to loop over packed files so their dir separator can be switched on file load.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index f287a69e3bb..c5a071d7d7d 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -96,7 +96,7 @@ static PyObject *bpy_blend_paths(PyObject *UNUSED(self), PyObject *args, PyObjec list= PyList_New(0); - for(BLI_bpathIterator_init(&bpi, G.main, NULL); !BLI_bpathIterator_isDone(bpi); BLI_bpathIterator_step(bpi)) { + for(BLI_bpathIterator_init(&bpi, G.main, NULL, 0); !BLI_bpathIterator_isDone(bpi); BLI_bpathIterator_step(bpi)) { /* build the list */ if (absolute) { BLI_bpathIterator_getPathExpanded(bpi, filepath_expanded); |