Made threaded Compositing more friendly for last node in list... the main

thread entered a loop without sleep() then.
This commit is contained in:
Ton Roosendaal
2006-02-14 00:05:09 +00:00
parent cf02e6d822
commit 92e0925ecb

View File

@@ -1901,6 +1901,8 @@ void ntreeCompositExecTree(bNodeTree *ntree, RenderData *rd, int do_preview)
node->exec= NODE_PROCESSING;
BLI_insert_thread(&threads, node);
}
else
PIL_sleep_ms(50);
}
else
PIL_sleep_ms(50);