Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2016-05-22 19:33:04 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-05-22 19:35:44 +0300
commit22ff9c5568cdcf9a5c7ec7925469dea651e2aab5 (patch)
tree25715753741c5b54240e61ba2038773bfc476010 /source/blender/blenlib
parentca03eddfcc4416c46afe4b633e5e8364da217fa8 (diff)
Fix T48497: Stupid typo in recent own BLI_task forloop work that broke non-parallelized case.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/task.c4
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);