diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-14 01:42:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-14 01:42:46 +0300 |
commit | 2a0a6a0541eaff06659a06ef18cac05e5674c844 (patch) | |
tree | c9941f33e1e120bdb2b66a145bfccdeac7f7e67a /source/blender/windowmanager/intern/wm_window.c | |
parent | a603bb34591c8b68977b026204658ce602a5dae6 (diff) |
Remove G.save_over
The difference between G.save_over and G.relbase_valid was minor.
There is one change in functionality. When saving the default-startup
file from an already loaded blend file - future save actions will
continue to write to the originally loaded file instead of prompting
the user to select a location to save the file.
This change makes saving the startup file behave the same way
"Save a Copy" does.
Reviewed By: brecht
Ref D13556
Diffstat (limited to 'source/blender/windowmanager/intern/wm_window.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_window.c b/source/blender/windowmanager/intern/wm_window.c index 86abfe881ff..fbced87d19c 100644 --- a/source/blender/windowmanager/intern/wm_window.c +++ b/source/blender/windowmanager/intern/wm_window.c @@ -428,7 +428,7 @@ void wm_window_title(wmWindowManager *wm, wmWindow *win) } else if (win->ghostwin) { /* this is set to 1 if you don't have startup.blend open */ - if (G.save_over && BKE_main_blendfile_path_from_global()[0]) { + if (G.relbase_valid && BKE_main_blendfile_path_from_global()[0]) { char str[sizeof(((Main *)NULL)->filepath) + 24]; BLI_snprintf(str, sizeof(str), |