[Bf-blender-cvs] [ca39aff59d4] master: Cleanup: Fix comment in recent commit.
Jeroen Bakker
noreply at git.blender.org
Fri Sep 10 14:45:52 CEST 2021
Commit: ca39aff59d45e15297a25895f6963e134894aad4
Author: Jeroen Bakker
Date: Fri Sep 10 14:43:48 2021 +0200
Branches: master
https://developer.blender.org/rBca39aff59d45e15297a25895f6963e134894aad4
Cleanup: Fix comment in recent commit.
A task is created for each item in a list base. It used to say that a
thread was created for each item.
===================================================================
M source/blender/editors/animation/keyframes_draw.c
===================================================================
diff --git a/source/blender/editors/animation/keyframes_draw.c b/source/blender/editors/animation/keyframes_draw.c
index d9a22c47242..ac7db9f4f46 100644
--- a/source/blender/editors/animation/keyframes_draw.c
+++ b/source/blender/editors/animation/keyframes_draw.c
@@ -519,7 +519,7 @@ static void ED_keylist_draw_list_build_keylists(AnimKeylistDrawList *draw_list)
{
TaskParallelSettings settings;
BLI_parallel_range_settings_defaults(&settings);
- /* Create a thread per item, a single item is complex enough to deserve its own thread. */
+ /* Create a task per item, a single item is complex enough to deserve its own task. */
settings.min_iter_per_thread = 1;
BLI_task_parallel_listbase(
More information about the Bf-blender-cvs
mailing list