- [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:
parent
7b5d3f183b
commit
1cc19c6993
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue