File Browser: autocomplete keeps focus in the file field when entering a folder.

There is a bunch of internal refactoring going on too:
* No longer use operators to handle these directory and file fields, only makes
  things more complicated than they should be.
* Handle autocomplete partial/full match deeper in the UI code
* Directory field still does not keep focus, that's for another time to fix,
  you can already do pretty quick keyboard only navigation with the file field.

Reviewed By: elubie

Differential Revision: http://developer.blender.org/D29
This commit is contained in:
Brecht Van Lommel
2013-11-22 01:35:38 +01:00
parent 6a6c7b10de
commit 77719bfd06
13 changed files with 129 additions and 178 deletions

View File

@@ -395,8 +395,6 @@ static void file_operatortypes(void)
WM_operatortype_append(FILE_OT_delete);
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 */