Fix incorrect spot lamp blend in python GPU uniform export.

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2378
This commit is contained in:
Michael Stahre 2017-02-02 03:59:11 +01:00 committed by Brecht Van Lommel
parent d4e0557cf1
commit 7f10a889e3
1 changed files with 1 additions and 1 deletions

View File

@ -609,7 +609,7 @@ static GPUNodeLink *lamp_get_visibility(GPUMaterial *mat, GPULamp *lamp, GPUNode
GPU_link(mat, "lamp_visibility_spot",
GPU_dynamic_uniform(&lamp->spotsi, GPU_DYNAMIC_LAMP_SPOTSIZE, lamp->ob),
GPU_dynamic_uniform(&lamp->spotbl, GPU_DYNAMIC_LAMP_SPOTSIZE, lamp->ob),
GPU_dynamic_uniform(&lamp->spotbl, GPU_DYNAMIC_LAMP_SPOTBLEND, lamp->ob),
inpr, visifac, &visifac);
}