Fix T93467: Use world bg color for pose library previews

Use the World viewport color when rendering pose library previews.

The World's viewport color is chosen instead of the World shading nodes,
as the latter would require rendering with `OB_RENDER` (instead of
`OB_SOLID`), which would take considerably longer.

Manifest Task: T93467

Reviewed By: sybren

Differential Revision: https://developer.blender.org/D13470
This commit is contained in:
Yuchen Wen 2021-12-07 14:20:15 +01:00 committed by Sybren A. Stüvel
parent 0f48b37aae
commit 6a9775ec6f
Notes: blender-bot 2023-02-14 09:48:23 +01:00
Referenced by issue #93479, 3.0 Potential candidates for corrective releases
Referenced by issue #93467, Use World background color when rendering pose library previews
1 changed files with 1 additions and 1 deletions

View File

@ -996,7 +996,7 @@ static void action_preview_render(IconPreview *preview, IconPreviewSize *preview
preview_sized->sizey,
IB_rect,
V3D_OFSDRAW_NONE,
R_ALPHAPREMUL,
R_ADDSKY,
NULL,
NULL,
err_out);