Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Stokes <mogurijin@gmail.com>2012-03-29 05:40:19 +0400
committerMitchell Stokes <mogurijin@gmail.com>2012-03-29 05:40:19 +0400
commita308b6c0ec070ac3813849c670b077641e9071a2 (patch)
tree5db45b5e8fe793a3faa46d799498c13df264a36f /source/gameengine/GamePlayer/ghost
parent299025bdfbbac715dc77ad6129dbbdb4f4918956 (diff)
Windows Blenderplayer: The console now closes when the Blenderplayer launches (like it does with Blender). To get it back, use the -c flag, which is finally working as described: "-c: keep console window open"
Diffstat (limited to 'source/gameengine/GamePlayer/ghost')
-rw-r--r--source/gameengine/GamePlayer/ghost/GPG_ghost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
index 642a3cb88d2..641f1f8d194 100644
--- a/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
+++ b/source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
@@ -802,7 +802,7 @@ int main(int argc, char** argv)
#if !defined(DEBUG)
if (closeConsole)
{
- //::FreeConsole(); // Close a console window
+ system->toggleConsole(0); // Close a console window
}
#endif // !defined(DEBUG)
#endif // WIN32