Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_files.c
| Context not available. | |||||
| } | } | ||||
| /* Success. */ | /* Success. */ | ||||
| BKE_reportf(reports, RPT_INFO, "Saved \"%s\"", BLI_path_basename(filepath)); | |||||
| ok = true; | ok = true; | ||||
| } | } | ||||
| Context not available. | |||||
| RNA_string_get(op->ptr, "filepath", path); | RNA_string_get(op->ptr, "filepath", path); | ||||
| ret = wm_save_as_mainfile_exec(C, op); | ret = wm_save_as_mainfile_exec(C, op); | ||||
| /* Without this there is no feedback the file was saved. */ | |||||
| BKE_reportf(op->reports, RPT_INFO, "Saved \"%s\"", BLI_path_basename(path)); | |||||
| } | } | ||||
| else { | else { | ||||
| WM_event_add_fileselect(C, op); | WM_event_add_fileselect(C, op); | ||||
| Context not available. | |||||