forked from bartvdbraak/blender
Documentation: add missing info about the fileselectior using hard coded property names.
This commit is contained in:
parent
297a21c39a
commit
aae52ef635
@ -197,7 +197,9 @@ void RNA_api_wm(StructRNA *srna)
|
|||||||
PropertyRNA *parm;
|
PropertyRNA *parm;
|
||||||
|
|
||||||
func= RNA_def_function(srna, "fileselect_add", "WM_event_add_fileselect");
|
func= RNA_def_function(srna, "fileselect_add", "WM_event_add_fileselect");
|
||||||
RNA_def_function_ui_description(func, "Show up the file selector");
|
RNA_def_function_ui_description(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");
|
||||||
rna_generic_op_invoke(func, 0);
|
rna_generic_op_invoke(func, 0);
|
||||||
|
|
||||||
func= RNA_def_function(srna, "modal_handler_add", "rna_event_modal_handler_add");
|
func= RNA_def_function(srna, "modal_handler_add", "rna_event_modal_handler_add");
|
||||||
|
Loading…
Reference in New Issue
Block a user