Fix for a wrong threads count shown in Freestyle debug mode (--debug-freestyle).

This commit is contained in:
Tamito Kajiyama 2014-07-04 15:18:06 +09:00
parent ce0596ed16
commit 944e576717
Notes: blender-bot 2023-02-14 10:25:57 +01:00
Referenced by issue #40833, Crash when rendering with freestyle
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ BlenderStrokeRenderer::BlenderStrokeRenderer(Render *re, int render_count) : Str
BKE_scene_disable_color_management(freestyle_scene);
if (G.debug & G_DEBUG_FREESTYLE) {
printf("%s: %d threads\n", __func__, freestyle_scene->r.threads);
printf("%s: %d thread(s)\n", __func__, BKE_render_num_threads(&freestyle_scene->r));
}
// Render layer