Blender Git Loki
Git Commits -> Revision 9972d6c
Revision 9972d6c by Julian Eisel (master) September 5, 2019, 23:31 (GMT) |
UI: Bring back features for file path button Adds back auto-completion and auto-creation (inserting a non-existing file-path would create it) for the file path button. The second feature was left out knowingly, but seems there are reasonable use cases for it. We can't add these features to the button in the Python script, we have to call into C. So using a template to do that. Note that this is based on the old file browser code, I've copied over the TODO comment. |
Commit Details:
Full Hash: 9972d6c3062010bea514c9e382b0a99275d63a89
Parent Commit: 4c4a8bf
Lines Changed: +76, -1
6 Modified Paths:
/release/scripts/startup/bl_ui/space_filebrowser.py (+1, -1) (Diff)
/source/blender/editors/include/ED_fileselect.h (+7, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+4, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+11, -0) (Diff)
/source/blender/editors/space_file/file_draw.c (+46, -0) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+7, -0) (Diff)
/source/blender/editors/include/ED_fileselect.h (+7, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+4, -0) (Diff)
/source/blender/editors/interface/interface_templates.c (+11, -0) (Diff)
/source/blender/editors/space_file/file_draw.c (+46, -0) (Diff)
/source/blender/makesrna/intern/rna_ui_api.c (+7, -0) (Diff)