diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-04-28 18:58:17 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2022-04-28 18:58:24 +0300 |
commit | 4296c1fe255f01b75e375a1b59789e4f31d89355 (patch) | |
tree | 6f4bc5b05fc806eab7f1e1c49c3430f94e1a0b86 /source/blender/editors/io | |
parent | 099120e54a8b9cb8f9b0173db7bc5a7807300082 (diff) |
Fix T97142: When Exporting GPencil, File Dialog Shows No Subfolders
The export had missing the `FILE_TYPE_FOLDER` flag.
Diffstat (limited to 'source/blender/editors/io')
-rw-r--r-- | source/blender/editors/io/io_gpencil_export.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/io/io_gpencil_export.c b/source/blender/editors/io/io_gpencil_export.c index bbde8ce42a2..7ac05fcca3e 100644 --- a/source/blender/editors/io/io_gpencil_export.c +++ b/source/blender/editors/io/io_gpencil_export.c @@ -226,7 +226,7 @@ void WM_OT_gpencil_export_svg(wmOperatorType *ot) ot->check = wm_gpencil_export_svg_common_check; WM_operator_properties_filesel(ot, - FILE_TYPE_OBJECT_IO, + FILE_TYPE_FOLDER | FILE_TYPE_OBJECT_IO, FILE_BLENDER, FILE_SAVE, WM_FILESEL_FILEPATH | WM_FILESEL_SHOW_PROPS, @@ -384,7 +384,7 @@ void WM_OT_gpencil_export_pdf(wmOperatorType *ot) ot->check = wm_gpencil_export_pdf_common_check; WM_operator_properties_filesel(ot, - FILE_TYPE_OBJECT_IO, + FILE_TYPE_FOLDER | FILE_TYPE_OBJECT_IO, FILE_BLENDER, FILE_SAVE, WM_FILESEL_FILEPATH | WM_FILESEL_SHOW_PROPS, |