This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender
Bastien Montagne d617de965e Fix (unreported) broken BLI_task's forloop func in case we have less iterations that workers.
When called with very small range, `BLI_task_parallel_range_ex()` would generate a zero `chunk_size`,
leading to some infinite looping in `parallel_range_func` due to `parallel_range_next_iter_get` returning
true without actually increasing the counter!

So now, we ensure `chunk_size` and `num_tasks` are always at least 1 (and avoid generating too much tasks too).
2015-12-28 00:37:07 +01:00
..
2015-12-27 23:22:43 +01:00
2015-12-27 23:22:43 +01:00
2015-12-27 23:22:43 +01:00
2015-01-29 15:35:06 +11:00
2015-12-21 13:13:52 +11:00
2015-10-10 17:35:30 +02:00