Fix Build Warning of Unused Function

My prior commit omitted the assignment of an operator callback setting
a custom description.

Introduced in #104678
This commit is contained in:
Harley Acheson
2023-06-01 09:50:27 -07:00
parent 83047bed26
commit 7372b3bdda

View File

@@ -3438,6 +3438,7 @@ void WM_OT_save_mainfile(wmOperatorType *ot)
ot->invoke = wm_save_mainfile_invoke;
ot->exec = wm_save_as_mainfile_exec;
ot->check = wm_save_mainfile_check;
ot->get_description = wm_save_mainfile_get_description;
/* Omit window poll so this can work in background mode. */
PropertyRNA *prop;