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:
authorAndrea Weikert <elubie@gmx.net>2009-07-28 22:20:16 +0400
committerAndrea Weikert <elubie@gmx.net>2009-07-28 22:20:16 +0400
commitc645f3660d9361a0a9ca8b0fd55b54d2f5007835 (patch)
treef3ccddb7cd8840d32e7b8a4738275258eabf45aa /source/blender/editors/space_file
parent86336f5cdd2bbe607bbece162bddfade7062b305 (diff)
2.5 file browser
* Bugfix: keep the filename when changing directory, either by clicking on it or by selecting a bookmark * MSVC uninitialized variable runtime check fix in widget_draw_text
Diffstat (limited to 'source/blender/editors/space_file')
-rw-r--r--source/blender/editors/space_file/file_ops.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c
index c515ef6e295..65a46d6514d 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -157,7 +157,6 @@ static FileSelect file_select(SpaceFile* sfile, ARegion* ar, const rcti* rect, s
BLI_add_slash(params->dir);
}
- params->file[0] = '\0';
file_change_dir(sfile);
retval = FILE_SELECT_DIR;
}
@@ -322,7 +321,6 @@ static int bookmark_select_invoke(bContext *C, wmOperator *op, wmEvent *event)
BLI_strncpy(params->dir, entry, sizeof(params->dir));
BLI_cleanup_dir(G.sce, params->dir);
file_change_dir(sfile);
- params->file[0] = '\0';
WM_event_add_notifier(C, NC_FILE|ND_FILELIST, NULL);
}