Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2017-10-06 01:18:57 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2017-10-06 01:18:57 +0300
commitc82efd3276b2f377bc9420eb7fb75d20d2a7a88a (patch)
tree25142d3d28a44c4d0d8e670e6989675e49fdb966
parent64f8cc3e7d5d13c60845cef8c7a0e0cd6f3f58d2 (diff)
Fix T52514: don't clear filename when dropping directory path in file browser.
-rw-r--r--source/blender/editors/space_file/file_ops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c
index b7228f634bf..ab1bcbaa8b5 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -1302,7 +1302,6 @@ void file_sfile_filepath_set(SpaceFile *sfile, const char *filepath)
if (BLI_is_dir(filepath)) {
BLI_strncpy(sfile->params->dir, filepath, sizeof(sfile->params->dir));
- sfile->params->file[0] = '\0';
}
else {
if ((sfile->params->flag & FILE_DIRSEL_ONLY) == 0) {