From 2a0a6a0541eaff06659a06ef18cac05e5674c844 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 14 Dec 2021 09:42:46 +1100 Subject: 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 --- source/blender/blenkernel/BKE_global.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/blender/blenkernel/BKE_global.h') diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h index 1464a905c80..184ebb8e934 100644 --- a/source/blender/blenkernel/BKE_global.h +++ b/source/blender/blenkernel/BKE_global.h @@ -52,12 +52,6 @@ typedef struct Global { /** When set: `G_MAIN->filepath` contains valid relative base path. */ bool relbase_valid; - /** - * When set: - * - Saving writes to `G_MAIN->filepath` without prompting for a file-path. - * - The title-bar displays `G_MAIN->filepath`. - */ - bool save_over; /** * Strings of recently opened files to show in the file menu. -- cgit v1.2.3