Blender Git Commit Log

Git Commits -> Revision 2403458

Revision 2403458 by Paul Golter (master)
October 14, 2021, 12:42 (GMT)
Filebrowser: Expose file select functions for File Browser to Python API.

This patch adds activate_file_by_relative_path(relative_path="") and
deselect_all() function to the space api of the File Browser. While the
first sets the active file and adds it to the selection based on a
relative path to the current File Browser directory the second one
deselects all files but does not change the active file.

Differential Revision: https://developer.blender.org/D12826
Reviewed by: Julian Eisel

Commit Details:

Full Hash: 240345842dd1594709433df1ff3448c55968254d
Parent Commit: 9ca567b
Committed By: Sebastian Parborg
Lines Changed: +52, -0

3 Modified Paths:

/source/blender/editors/include/ED_fileselect.h (+3, -0) (Diff)
/source/blender/editors/space_file/filesel.c (+37, -0) (Diff)
/source/blender/makesrna/intern/rna_space_api.c (+12, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021