USD IO: enable presets.
Enable Operator Presets drop down menu for the USD import/export operators.
This commit is contained in:
parent
1496105327
commit
f1828d3430
|
@ -498,6 +498,8 @@ void WM_OT_usd_export(struct wmOperatorType *ot)
|
|||
ot->poll = WM_operator_winactive;
|
||||
ot->ui = wm_usd_export_draw;
|
||||
|
||||
ot->flag = OPTYPE_PRESET;
|
||||
|
||||
WM_operator_properties_filesel(ot,
|
||||
FILE_TYPE_FOLDER | FILE_TYPE_USD,
|
||||
FILE_BLENDER,
|
||||
|
@ -1045,6 +1047,8 @@ void WM_OT_usd_import(struct wmOperatorType *ot)
|
|||
ot->poll = WM_operator_winactive;
|
||||
ot->ui = wm_usd_import_draw;
|
||||
|
||||
ot->flag = OPTYPE_PRESET;
|
||||
|
||||
WM_operator_properties_filesel(ot,
|
||||
FILE_TYPE_FOLDER | FILE_TYPE_USD,
|
||||
FILE_BLENDER,
|
||||
|
|
Loading…
Reference in New Issue