diff options
author | Andrea Weikert <elubie@gmx.net> | 2007-09-14 22:21:23 +0400 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2007-09-14 22:21:23 +0400 |
commit | ee6acc1061e94378a0aa5fab4b73f72c849531ad (patch) | |
tree | 03a4ce8aa0d3213ef494959771f79086d6b43811 /source/blender/src/editimasel.c | |
parent | 1bde4e3274042f08b60153f58273387801052a97 (diff) |
== imagebrowser ==
* fix for do_versions, bump correction of old imasel to all files including version 2.44
* refactoring of filtering code using indices instead of copying entries in filelist
* memleak fix.
Diffstat (limited to 'source/blender/src/editimasel.c')
-rw-r--r-- | source/blender/src/editimasel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/editimasel.c b/source/blender/src/editimasel.c index 6111329e3e7..c2058bf96fd 100644 --- a/source/blender/src/editimasel.c +++ b/source/blender/src/editimasel.c @@ -589,10 +589,12 @@ static void do_imasel_buttons(short event, SpaceImaSel *simasel) if (okee("Makedir")) { BLI_recurdir_fileops(butname); if (!BLI_exists(butname)) { + BIF_filelist_free(simasel->files); BIF_filelist_parent(simasel->files); BLI_strncpy(simasel->dir, BIF_filelist_dir(simasel->files), 80); } } else { + BIF_filelist_free(simasel->files); BIF_filelist_parent(simasel->files); BLI_strncpy(simasel->dir, BIF_filelist_dir(simasel->files), 80); } |