ensured renders can be cancelled

This commit is contained in:
itsmattkc
2018-12-08 21:00:36 +11:00
parent 576d3f0098
commit 6c3197aac6
4 changed files with 6 additions and 1 deletions
+2
View File
@@ -736,6 +736,7 @@ GLuint ViewerWidget::compose_sequence(QVector<Clip*>& nests, bool render_audio)
void ViewerWidget::paintGL() {
drawn_gizmos = false;
force_quit = false;
if (viewer->seq != NULL) {
gizmos = NULL;
@@ -784,6 +785,7 @@ void ViewerWidget::paintGL() {
p.drawLine(playhead_x, 0, playhead_x, height());
}
if (force_quit) break;
if (texture_failed) {
if (rendering) {
dout << "[INFO] Texture failed - looping";