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:
2023-02-01 14:06:38 -08:00
parent a4868f2058
commit d82ffb9787

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. */