Blender Git Loki

Git Commits -> Revision f3944cf

Revision f3944cf by Ray molenkamp (master)
May 27, 2021, 02:02 (GMT)
Win: Add launcher to hide the console window flash

This patch fixes a long-standing complaint from users:
the console window shortly flashing when they start
blender.

This is done by adding a new executable called
blender-launcher.exe which starts blender.exe while
hiding the console.

Any command line parameters given to blender-launcher
will be passed on to blender.exe so it'll be a drop
in replacement.

Starting blender.exe on its own will still function as
a proper console app so no changes required here for
users that use blender for batch processing.

Notable changes:

Registering blender (-R switch) will now register
blender-launcher as the preferred executable.

This patch updates the installer and updates the
shortcuts to start blender-launcher.exe rather
than blender.exe

Differential Revision: https://developer.blender.org/D11094

Reviewed by: brecht, harley

Commit Details:

Full Hash: f3944cf503966a93a124e389d9232d7f833c0077
Parent Commit: 6fc9ec9
Lines Changed: +113, -7

1 Added Path:

/source/creator/blender-launcher.c (+92, -0) (View)

4 Modified Paths:

/build_files/cmake/packaging.cmake (+2, -2) (Diff)
/source/blender/blenlib/intern/winstuff.c (+2, -2) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+7, -2) (Diff)
/source/creator/CMakeLists.txt (+10, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021