[Bf-blender-cvs] [d82ffb9787c] master: Fix T103530: Allow Recursive File Lists

Harley Acheson noreply at git.blender.org
Wed Feb 1 23:07:53 CET 2023


Commit: d82ffb9787c3181c6f4432f19309b59009aa34ec
Author: Harley Acheson
Date:   Wed Feb 1 14:06:38 2023 -0800
Branches: master
https://developer.blender.org/rBd82ffb9787c3181c6f4432f19309b59009aa34ec

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

===================================================================

M	source/blender/editors/space_file/filelist.cc

===================================================================

diff --git a/source/blender/editors/space_file/filelist.cc b/source/blender/editors/space_file/filelist.cc
index 73de74ddaf6..000de4b860c 100644
--- a/source/blender/editors/space_file/filelist.cc
+++ b/source/blender/editors/space_file/filelist.cc
@@ -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. */



More information about the Bf-blender-cvs mailing list