diff options
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index 0432057bb47..19e4f652963 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -801,7 +801,7 @@ static void shader_preview_texture(ShaderPreview *sp, Tex *tex, Scene *sce, Rend rect_float[0] = texres.tr; rect_float[1] = texres.tg; rect_float[2] = texres.tb; - rect_float[3] = 1.0f; + rect_float[3] = texres.talpha ? texres.ta : 1.0f; rect_float += 4; } |