- [WIN32] Ask user to press enter after exiting Blender in debug mode. Previously it would either not fall back to the prompt or not close the new dos-box (ie. not started from a dos-box).

This commit is contained in:
Nathan Letwory 2004-03-06 13:08:36 +00:00
parent 7b5d3f183b
commit 1cc19c6993
1 changed files with 5 additions and 3 deletions

View File

@ -589,9 +589,11 @@ void exit_usiblender(void)
printf("\nBlender quit\n");
#ifdef WIN32
// when debugging enter infinite loop to enable
// reading the printouts...
while(G.f & G_DEBUG) {PIL_sleep_ms(10);}
/* ask user to press enter when in debug mode */
if(G.f & G_DEBUG) {
printf("press enter key to exit...\n\n");
getchar();
}
#endif