main sync #3

Merged
Patrick Busch merged 318 commits from blender/blender:main into main 2023-03-17 15:52:21 +01:00
Showing only changes of commit 1cc072b1a7 - Show all commits

View File

@ -3310,9 +3310,6 @@ static int wm_save_mainfile_invoke(bContext *C, wmOperator *op, const wmEvent *
} }
if (blendfile_path[0] != '\0') { if (blendfile_path[0] != '\0') {
char path[FILE_MAX];
RNA_string_get(op->ptr, "filepath", path);
ret = wm_save_as_mainfile_exec(C, op); ret = wm_save_as_mainfile_exec(C, op);
} }
else { else {