upgraded to ocio v2

This commit is contained in:
itsmattkc
2020-11-11 21:53:24 +11:00
parent 0429e70fe0
commit 3c1ac3eeba
40 changed files with 378 additions and 362 deletions
+6 -2
View File
@@ -114,7 +114,7 @@ void ThreadPoolThread::RunTicket(RenderTicketPtr ticket)
void ThreadPoolThread::run()
{
while (!IsCancelled()) {
while (true) {
wait_cond_.wait(&mutex_);
if (ticket_) {
@@ -122,7 +122,11 @@ void ThreadPoolThread::run()
ticket_ = nullptr;
}
emit Done();
if (IsCancelled()) {
break;
} else {
emit Done();
}
}
}