diff options
author | William Reynish <billrey@me.com> | 2019-09-05 08:54:41 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-09-05 08:54:41 +0300 |
commit | d813cc706d79daf84100f9090db5f11c917e50c0 (patch) | |
tree | 1119ce1e0a9c33a22963b5061542414b7f11fba6 /source/blender/windowmanager/intern/wm_operator_props.c | |
parent | 6fc6f2504dfdae50c8184185222350052be0775c (diff) |
File Browser: Add Zip files as native recognised file type
Differential Revision: https://developer.blender.org/D5683
Reviewers: Brecht
Diffstat (limited to 'source/blender/windowmanager/intern/wm_operator_props.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_operator_props.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/intern/wm_operator_props.c b/source/blender/windowmanager/intern/wm_operator_props.c index de82c3942db..04775a7a880 100644 --- a/source/blender/windowmanager/intern/wm_operator_props.c +++ b/source/blender/windowmanager/intern/wm_operator_props.c @@ -156,6 +156,9 @@ void WM_operator_properties_filesel(wmOperatorType *ot, ot->srna, "filter_text", (filter & FILE_TYPE_TEXT) != 0, "Filter text files", ""); RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); prop = RNA_def_boolean( + ot->srna, "filter_archive", (filter & FILE_TYPE_ARCHIVE) != 0, "Filter archive files", ""); + RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); + prop = RNA_def_boolean( ot->srna, "filter_btx", (filter & FILE_TYPE_BTX) != 0, "Filter btx files", ""); RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); prop = RNA_def_boolean( |