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/blenlib/BLI_bpath.h | |
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/blenlib/BLI_bpath.h')
-rw-r--r-- | source/blender/blenlib/BLI_bpath.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_bpath.h b/source/blender/blenlib/BLI_bpath.h index ff0050649ed..8c351d6020d 100644 --- a/source/blender/blenlib/BLI_bpath.h +++ b/source/blender/blenlib/BLI_bpath.h @@ -36,7 +36,7 @@ struct BPathIterator; struct ReportList; struct Main; -void BLI_bpathIterator_init (struct BPathIterator **bpi, struct Main *bmain, const char *basedir); +void BLI_bpathIterator_init (struct BPathIterator **bpi, struct Main *bmain, const char *basedir, const int flag); void BLI_bpathIterator_free (struct BPathIterator *bpi); const char* BLI_bpathIterator_getLib (struct BPathIterator *bpi); const char* BLI_bpathIterator_getName (struct BPathIterator *bpi); @@ -57,4 +57,6 @@ void makeFilesRelative(struct Main *bmain, const char *basedir, struct ReportLis void makeFilesAbsolute(struct Main *bmain, const char *basedir, struct ReportList *reports); void findMissingFiles(struct Main *bmain, const char *str); +#define BPATH_USE_PACKED 1 + #endif // BLI_BPATH_H |