From ab9ec193c34ae62af99350f62631f91c9648d5eb Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 13 Nov 2021 14:01:59 +1100 Subject: Fix splash screen showing on startup with files loaded by scripts Suppressing the splash was only done when passing in an argument from the command line. Remove G.file_loaded, as it is misleading, only set once on startup, replace with G.relbase_valid which is used everywhere else to check if the file path should be used. --- source/blender/blenkernel/BKE_global.h | 1 - 1 file changed, 1 deletion(-) (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 1e3fe61552a..4f1da0a972f 100644 --- a/source/blender/blenkernel/BKE_global.h +++ b/source/blender/blenkernel/BKE_global.h @@ -45,7 +45,6 @@ typedef struct Global { /** When set: `G_MAIN->name` contains valid relative base path. */ bool relbase_valid; - bool file_loaded; bool save_over; /** Strings of recent opened files. */ -- cgit v1.2.3