- bug fix: for OSX using ctrl or alt + f12 didn't render anymore. this is

because some macs eject a cdrom then... ahem!
This commit is contained in:
Ton Roosendaal 2003-12-01 11:58:11 +00:00
parent 99058defd8
commit 8581a64e8e
1 changed files with 4 additions and 2 deletions

View File

@ -561,7 +561,8 @@ int blenderqread(unsigned short event, short val)
BIF_save_rendered_image();
return 0;
}
else if((G.qual==LR_CTRLKEY)||(G.qual==(LR_CTRLKEY|LR_SHIFTKEY))) {
else if(G.qual & LR_CTRLKEY) {
/* all alt+ctrl+shift combos are needed here... */
BIF_screendump();
}
break;
@ -652,7 +653,8 @@ int blenderqread(unsigned short event, short val)
newspace(curarea, SPACE_NLA);
return 0;
}
else if(G.qual==0) {
else {
/* ctrl/alt + f12 should render too, for some macs have f12 assigned to cd eject */
BIF_do_render(0);
}
return 0;