From 9c5fb7b2e7ecb0271371cd729808da44c3bc1bc3 Mon Sep 17 00:00:00 2001 From: Henrik Aarnio Date: Fri, 22 Nov 2013 14:35:34 +0100 Subject: Fix T37485: autocomplete while appending and autocomplete folder behaviour. This adds functionality to tab-autocomplete folders in the file browser file field, and the ability to autocomplete .blend files and their sub folders while linking. If only one match of a blend or a folder is found, it is opened, which applies to wildcards in the file field now. Reviewed By: elubie, brecht Differential Revision: http://developer.blender.org/D20 --- source/blender/editors/space_file/space_file.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/editors/space_file/space_file.c') diff --git a/source/blender/editors/space_file/space_file.c b/source/blender/editors/space_file/space_file.c index 1a8565a58b1..0bc2d073e0a 100644 --- a/source/blender/editors/space_file/space_file.c +++ b/source/blender/editors/space_file/space_file.c @@ -396,6 +396,7 @@ static void file_operatortypes(void) WM_operatortype_append(FILE_OT_rename); WM_operatortype_append(FILE_OT_smoothscroll); WM_operatortype_append(FILE_OT_directory); + WM_operatortype_append(FILE_OT_filename); } /* NOTE: do not add .blend file reading on this level */ -- cgit v1.2.3