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
This commit is contained in:
Philipp Oeser 2022-05-09 15:28:36 +02:00
parent 432c4c74eb
commit 9bb7de274d
1 changed files with 1 additions and 0 deletions

View File

@ -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,