Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Toenne <lukas.toenne@googlemail.com>2013-07-29 15:42:23 +0400
committerLukas Toenne <lukas.toenne@googlemail.com>2013-07-29 15:42:23 +0400
commitb517291fe64016908cf600439a3c0e340b09dba0 (patch)
tree515a6bfa85cff89028b52c4fa3115242a949bbf5 /source/blender/nodes
parentac0568d85660490b90dc1d7c633557ab59bc635e (diff)
Fix #36264, New modulo math node not viewable in GLSL mode. Modulo math operation was simply missing the switch statement for gpu execution.
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/shader/nodes/node_shader_math.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_math.c b/source/blender/nodes/shader/nodes/node_shader_math.c
index b0570a7d673..49a7de47fc3 100644
--- a/source/blender/nodes/shader/nodes/node_shader_math.c
+++ b/source/blender/nodes/shader/nodes/node_shader_math.c
@@ -232,6 +232,7 @@ static int gpu_shader_math(GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(
case 13:
case 15:
case 16:
+ case 17:
GPU_stack_link(mat, names[node->custom1], in, out);
break;
case 4: