diff --git a/source/blender/blenlib/intern/task.c b/source/blender/blenlib/intern/task.c index d3b11d8e6d0..2be688a3d8c 100644 --- a/source/blender/blenlib/intern/task.c +++ b/source/blender/blenlib/intern/task.c @@ -662,7 +662,11 @@ void BLI_task_parallel_range_ex( ParallelRangeState state; int i, num_threads, num_tasks; - BLI_assert(start < stop); + if (start == stop) { + return; + } + + BLI_assert(start <= stop); /* If it's not enough data to be crunched, don't bother with tasks at all, * do everything from the main thread.