Blender Git Loki

Git Commits -> Revision 50db4b3

Revision 50db4b3 by Julian Eisel (temp-lanpr-staging)
September 12, 2019, 01:13 (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: 50db4b38019cc32865dcf1b3dba1a7c14ccb0b02
Parent Commit: 627b07a
Committed By: YimingWu
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021