BLI_task: Add back lost 'push_from_thread' change to BLI_task_parallel_range() & co.
This commit is contained in:
parent
19955bd152
commit
5a7429c363
@ -911,10 +911,10 @@ static void task_parallel_range_ex(
|
||||
atomic_fetch_and_add_uint32((uint32_t *)(&state.iter), 0);
|
||||
|
||||
for (i = 0; i < num_tasks; i++) {
|
||||
BLI_task_pool_push(task_pool,
|
||||
parallel_range_func,
|
||||
NULL, false,
|
||||
TASK_PRIORITY_HIGH);
|
||||
BLI_task_pool_push_from_thread(task_pool,
|
||||
parallel_range_func,
|
||||
NULL, false,
|
||||
TASK_PRIORITY_HIGH, 0);
|
||||
}
|
||||
|
||||
BLI_task_pool_work_and_wait(task_pool);
|
||||
|
Loading…
Reference in New Issue
Block a user