- [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");
|
printf("\nBlender quit\n");
|
||||||
|
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
// when debugging enter infinite loop to enable
|
/* ask user to press enter when in debug mode */
|
||||||
// reading the printouts...
|
if(G.f & G_DEBUG) {
|
||||||
while(G.f & G_DEBUG) {PIL_sleep_ms(10);}
|
printf("press enter key to exit...\n\n");
|
||||||
|
getchar();
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue