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

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to