diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-28 00:29:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-28 00:35:37 +0300 |
commit | 9d535f7ce8d2870dc833842026a23d40e171a6a6 (patch) | |
tree | 71c02971d43ed42e5d4e3dd7f2dbfdc4250cfd52 /source/blender/windowmanager/intern/wm_files.c | |
parent | c28fe9c304406be67db832aa0d78385b3e60aafb (diff) |
Print filepath in message when saving userprefs
Was just printing 'ok' on success.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_files.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_files.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c index 96a6538a043..808804b7c21 100644 --- a/source/blender/windowmanager/intern/wm_files.c +++ b/source/blender/windowmanager/intern/wm_files.c @@ -1529,7 +1529,7 @@ static int wm_homefile_write_exec(bContext *C, wmOperator *op) BLI_path_join(filepath, sizeof(filepath), cfgdir, BLENDER_STARTUP_FILE, NULL); - printf("trying to save homefile at %s ", filepath); + printf("Writing homefile: '%s' ", filepath); ED_editors_flush_edits(C, false); @@ -1617,6 +1617,7 @@ static int wm_userpref_write_exec(bContext *C, wmOperator *op) bool ok_write; BLI_path_join(filepath, sizeof(filepath), cfgdir, BLENDER_USERPREF_FILE, NULL); + printf("Writing userprefs: '%s' ", filepath); if (use_template_userpref) { ok_write = BKE_blendfile_userdef_write_app_template(filepath, op->reports); } @@ -1640,6 +1641,8 @@ static int wm_userpref_write_exec(bContext *C, wmOperator *op) if ((cfgdir = BKE_appdir_folder_id_create(BLENDER_USER_CONFIG, U.app_template))) { /* Also save app-template prefs */ BLI_path_join(filepath, sizeof(filepath), cfgdir, BLENDER_USERPREF_FILE, NULL); + + printf("Writing userprefs app-template: '%s' ", filepath); if (BKE_blendfile_userdef_write(filepath, op->reports) != 0) { printf("ok\n"); } |