diff options
Diffstat (limited to 'source/blender/nodes/shader/nodes/node_shader_geom.c')
-rw-r--r-- | source/blender/nodes/shader/nodes/node_shader_geom.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/nodes/node_shader_geom.c b/source/blender/nodes/shader/nodes/node_shader_geom.c index 1d7ddc5f226..0a51ee8dc68 100644 --- a/source/blender/nodes/shader/nodes/node_shader_geom.c +++ b/source/blender/nodes/shader/nodes/node_shader_geom.c @@ -103,7 +103,7 @@ static void node_shader_exec_geom(void *data, int UNUSED(thread), bNode *node, b memcpy(out[GEOM_OUT_VCOL]->vec, defaultvcol, sizeof(defaultvcol)); out[GEOM_OUT_VCOL_ALPHA]->vec[0] = 1.0f; } - + if (shi->osatex) { out[GEOM_OUT_GLOB]->data = shi->dxgl; out[GEOM_OUT_GLOB]->datatype = NS_OSA_VECTORS; @@ -118,7 +118,7 @@ static void node_shader_exec_geom(void *data, int UNUSED(thread), bNode *node, b out[GEOM_OUT_NORMAL]->data = shi->dxno; out[GEOM_OUT_NORMAL]->datatype = NS_OSA_VECTORS; } - + /* front/back, normal flipping was stored */ out[GEOM_OUT_FRONTBACK]->vec[0] = (shi->flippednor) ? 0.0f : 1.0f; } |