mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
Added safety checks to processEvents(), which was causing problems. Also narrowed the scope of the events processed.
It can now be disabled in the interface by un-checking touch-look, which most people don't use yet. Also, the event processing time should be limited to 1 ms.
This commit is contained in:
parent
c8b86c651f
commit
3ea100e595
1 changed files with 6 additions and 2 deletions
|
@ -950,8 +950,12 @@ void Application::idle() {
|
|||
|
||||
// NOTE - this is commented out for now - causing event processing issues reported by Philip and Ryan
|
||||
// birarda - July 3rd
|
||||
|
||||
// processEvents();
|
||||
// Added some safety catches which will enable us to test this.
|
||||
// ej - July 3rd
|
||||
if (_touchLook->isChecked()) {
|
||||
int maxTimeMS = 1;
|
||||
processEvents(QEventLoop::ExcludeSocketNotifiers, maxTimeMS);
|
||||
}
|
||||
|
||||
update(1.0f / _fps);
|
||||
|
||||
|
|
Loading…
Reference in a new issue