Collada: Mark the I/O operators as legacy in the UI.

Ref. https://devtalk.blender.org/t/moving-collada-i-o-to-legacy-status/34621
This commit is contained in:
Bastien Montagne
2024-05-21 17:01:15 +02:00
parent 528d946858
commit 82f9501a4a
2 changed files with 4 additions and 4 deletions

View File

@@ -463,7 +463,7 @@ void WM_OT_collada_export(wmOperatorType *ot)
{BC_UI_SECTION_COLLADA, "collada", 0, "Extra", "Collada export section"},
{0, nullptr, 0, nullptr, nullptr}};
ot->name = "Export COLLADA";
ot->name = "Export COLLADA (Legacy)";
ot->description = "Save a Collada file";
ot->idname = "WM_OT_collada_export";
@@ -799,7 +799,7 @@ static void wm_collada_import_draw(bContext * /*C*/, wmOperator *op)
void WM_OT_collada_import(wmOperatorType *ot)
{
ot->name = "Import COLLADA";
ot->name = "Import COLLADA (Legacy)";
ot->description = "Load a Collada file";
ot->idname = "WM_OT_collada_import";
ot->flag = OPTYPE_UNDO | OPTYPE_PRESET;