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:
authorHenrik Aarnio <hjaarnio@gmail.com>2013-11-22 17:35:34 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2013-11-22 17:48:46 +0400
commit9c5fb7b2e7ecb0271371cd729808da44c3bc1bc3 (patch)
tree60782e733753c780d2608f2ceca3197b71d612fb /source/blender/editors/space_file/space_file.c
parente3a79258d17e6cdca26120eab7a2c48c7c4d4a0f (diff)
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
Diffstat (limited to 'source/blender/editors/space_file/space_file.c')
-rw-r--r--source/blender/editors/space_file/space_file.c1
1 files changed, 1 insertions, 0 deletions
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 */