Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-12-14 01:42:46 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-14 01:42:46 +0300
commit2a0a6a0541eaff06659a06ef18cac05e5674c844 (patch)
treec9941f33e1e120bdb2b66a145bfccdeac7f7e67a /source/creator
parenta603bb34591c8b68977b026204658ce602a5dae6 (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/creator')
-rw-r--r--source/creator/creator_args.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index 0259e028e63..2d86587d096 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -1996,7 +1996,6 @@ static int arg_handle_load_file(int UNUSED(argc), const char **argv, void *data)
* save at the filename from the CLI. */
STRNCPY(G_MAIN->filepath, filename);
G.relbase_valid = true;
- G.save_over = true;
printf("... opened default scene instead; saving will write to: %s\n", filename);
}
else {