From bcff0ef9cabc37c4b89a1e2c7972a09ac80d4555 Mon Sep 17 00:00:00 2001 From: Harley Acheson Date: Mon, 14 Jun 2021 10:15:37 -0700 Subject: UI: Windows Blend File Association This patch allows Windows users to specify that their current blender installation should be used to create thumbnails and be associated with ".blend" files. This is done from Preferences / System. The only way to do this currently is from the command-line and this is sometimes inconvenient. Differential Revision: https://developer.blender.org/D10887 Reviewed by Brecht Van Lommel --- source/creator/creator_args.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/creator') diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 43f23510927..3f5ca84fbef 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1317,6 +1317,7 @@ static int arg_handle_register_extension(int UNUSED(argc), const char **UNUSED(a G.background = 1; } BLI_windows_register_blend_extension(G.background); + TerminateProcess(GetCurrentProcess(), 0); # else (void)data; /* unused */ # endif -- cgit v1.2.3