Blender Git Loki

Git Commits -> Revision 3d40e3f

Revision 3d40e3f by Masakazu Ito (master)
December 30, 2013, 23:17 (GMT)
Fix console incorrectly showing on Windows Blender startup in some cases.

The console window is hidden by default, but we need to avoid this when
starting from the command prompt, because it would hide the window you just
typed the command in.

Previously it would check if Blender was started from "explorer.exe" to
determine that, but that wasn't working for application launchers like
Appetizer or Colibri. Instead we now check if the process ID is the same as
the process ID of the console window, which appears to work reliably.

Reviewed By: brecht

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

Commit Details:

Full Hash: 3d40e3f9dbf60e21a49429218bad68836b014e5d
Parent Commit: a1c740a
Committed By: Brecht Van Lommel
Lines Changed: +23, -29

1 Modified Path:

/intern/ghost/intern/GHOST_SystemWin32.cpp (+23, -29) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021