Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2022-05-09 16:28:36 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-06-02 16:07:54 +0300
commit9bb7de274dc274a9764492491cf65525ff2d102b (patch)
tree0a2abc6f65a5bdd9b1892c32ba4d06623d07fc91 /source/blender/editors/io
parent432c4c74ebe6f66b83e06ff7fca70c96d0526d6a (diff)
USD: Enable operator presets when exporting
This patch enables operator presets for USD exports. The export menu has many options, so enabling the feature will help users manage their export settings in the same way they can with other filetypes. Same as {rB1d668b635632} Differential Revision: https://developer.blender.org/D14896
Diffstat (limited to 'source/blender/editors/io')
-rw-r--r--source/blender/editors/io/io_usd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/io/io_usd.c b/source/blender/editors/io/io_usd.c
index 609230eefea..8a24b48be5e 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -217,6 +217,7 @@ void WM_OT_usd_export(struct wmOperatorType *ot)
ot->check = wm_usd_export_check;
ot->flag = OPTYPE_REGISTER; /* No UNDO possible. */
+ ot->flag |= OPTYPE_PRESET;
WM_operator_properties_filesel(ot,
FILE_TYPE_FOLDER | FILE_TYPE_USD,