RNA: WM API: fileselect_add - document filter_glob operator property usage

Pull Request: https://projects.blender.org/blender/blender/pulls/135288
This commit is contained in:
Andrej730
2025-02-28 15:44:45 +01:00
committed by Bastien Montagne
parent 8f00d8b0c8
commit 25922344e5

View File

@@ -862,7 +862,9 @@ void RNA_api_wm(StructRNA *srna)
func,
"Opens a file selector with an operator. "
"The string properties 'filepath', 'filename', 'directory' and a 'files' "
"collection are assigned when present in the operator.");
"collection are assigned when present in the operator. "
"If 'filter_glob' property is present in the operator and it's not empty, "
"it will be used as a file filter (example value: '*.zip;*.py;*.exe').");
rna_generic_op_invoke(func, 0);
func = RNA_def_function(srna, "modal_handler_add", "rna_event_modal_handler_add");