diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-05-22 19:33:04 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-05-22 19:35:44 +0300 |
commit | 22ff9c5568cdcf9a5c7ec7925469dea651e2aab5 (patch) | |
tree | 25715753741c5b54240e61ba2038773bfc476010 | |
parent | ca03eddfcc4416c46afe4b633e5e8364da217fa8 (diff) |
Fix T48497: Stupid typo in recent own BLI_task forloop work that broke non-parallelized case.
-rw-r--r-- | source/blender/blenlib/intern/task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/task.c b/source/blender/blenlib/intern/task.c index 4ef42dcce6f..58475b7f835 100644 --- a/source/blender/blenlib/intern/task.c +++ b/source/blender/blenlib/intern/task.c @@ -858,11 +858,11 @@ static void task_parallel_range_ex( } for (i = start; i < stop; ++i) { - func_ex(userdata, userdata_chunk, i, 0); + func_ex(userdata, userdata_chunk_local, i, 0); } if (func_finalize) { - func_finalize(userdata, userdata_chunk); + func_finalize(userdata, userdata_chunk_local); } MALLOCA_FREE(userdata_chunk_local, userdata_chunk_size); |