diff --git a/toonz/sources/toonz/comboviewerpane.cpp b/toonz/sources/toonz/comboviewerpane.cpp index 9e49841..a57f7be 100644 --- a/toonz/sources/toonz/comboviewerpane.cpp +++ b/toonz/sources/toonz/comboviewerpane.cpp @@ -330,9 +330,7 @@ void ComboViewerPanel::onDrawFrame(int frame, // make sure to redraw the frame here. // repaint() does NOT immediately redraw the frame for QOpenGLWidget - if (frameHandle->isPlaying()) - qApp->processEvents(QEventLoop::ExcludeUserInputEvents | - QEventLoop::ExcludeSocketNotifiers); + if (frameHandle->isPlaying()) qApp->processEvents(); } //----------------------------------------------------------------------------- diff --git a/toonz/sources/toonz/imageviewer.cpp b/toonz/sources/toonz/imageviewer.cpp index 96f74f8..53ef0f4 100644 --- a/toonz/sources/toonz/imageviewer.cpp +++ b/toonz/sources/toonz/imageviewer.cpp @@ -420,9 +420,7 @@ void ImageViewer::setImage(TImageP image) { // make sure to redraw the frame here. // repaint() does NOT immediately redraw the frame for QOpenGLWidget update(); - if (!isColorModel()) - qApp->processEvents(QEventLoop::ExcludeUserInputEvents | - QEventLoop::ExcludeSocketNotifiers); + if (!isColorModel()) qApp->processEvents(); } //------------------------------------------------------------------- diff --git a/toonz/sources/toonz/viewerpane.cpp b/toonz/sources/toonz/viewerpane.cpp index 6923332..e95f94d 100644 --- a/toonz/sources/toonz/viewerpane.cpp +++ b/toonz/sources/toonz/viewerpane.cpp @@ -304,9 +304,7 @@ void SceneViewerPanel::onDrawFrame(int frame, // make sure to redraw the frame here. // repaint() does NOT immediately redraw the frame for QOpenGLWidget - if (frameHandle->isPlaying()) - qApp->processEvents(QEventLoop::ExcludeUserInputEvents | - QEventLoop::ExcludeSocketNotifiers); + if (frameHandle->isPlaying()) qApp->processEvents(); } //-----------------------------------------------------------------------------