diff options
author | Masakazu Ito <sakasama@mtc.biglobe.ne.jp> | 2013-12-31 03:08:07 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2013-12-31 03:17:38 +0400 |
commit | 3d40e3f9dbf60e21a49429218bad68836b014e5d (patch) | |
tree | f92cf35c00523f0a5a60212a7fb0779e1e20eab1 /source/blender/windowmanager/intern/wm_cursors.c | |
parent | a1c740a420ca1d6e10e91154247dc85eafe95e1d (diff) |
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
Diffstat (limited to 'source/blender/windowmanager/intern/wm_cursors.c')
0 files changed, 0 insertions, 0 deletions