forked from bartvdbraak/blender
Bug fix #2507
While doing a viewmove/rotate, the queue was not emptied nor read... so after a while the entire queue gets full, not registering a modifier key-release anymore. Fixed :) Reported error confirmed in windows and OSX.
This commit is contained in:
parent
6d99044373
commit
9eb5eee92e
@ -583,6 +583,11 @@ void viewmove(int mode)
|
||||
screen_swapbuffers();
|
||||
}
|
||||
else {
|
||||
short val;
|
||||
unsigned short event;
|
||||
/* we need to empty the queue... when you do this very long it overflows */
|
||||
while(qtest()) event= extern_qread(&val);
|
||||
|
||||
BIF_wait_for_statechange();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user