Fix T103530: Allow Recursive File Lists

In File Browser, correct full path creation so that it works correctly
in recursive listings.

See D17175 for more details.

Differential Revision: https://developer.blender.org/D17175

Reviewed by Julian Eisel
This commit is contained in:
Harley Acheson 2023-02-01 14:06:38 -08:00
parent a4868f2058
commit d82ffb9787
Notes: blender-bot 2023-02-14 17:59:51 +01:00
Referenced by issue #104299, Crash when opening file (customData)
Referenced by issue #103530, Regression: File recursions work only when I turn on hidden files
Referenced by issue #99585, HIP Vega system freeze
1 changed files with 1 additions and 1 deletions

View File

@ -2983,7 +2983,7 @@ static int filelist_readjob_list_dir(FileListReadJob *job_params,
entry->relpath = current_relpath_append(job_params, files[i].relname);
entry->st = files[i].s;
BLI_path_join(full_path, FILE_MAX, root, entry->relpath);
BLI_path_join(full_path, FILE_MAX, root, files[i].relname);
char *target = full_path;
/* Set initial file type and attributes. */