[Bf-blender-cvs] [45bf470ee9e] master: Fix T83712: arctangent math node does not work in Eevee

Jacques Lucke noreply at git.blender.org
Mon Dec 14 10:48:22 CET 2020


Commit: 45bf470ee9e94e62a038c9faac891744488a1b89
Author: Jacques Lucke
Date:   Mon Dec 14 10:46:19 2020 +0100
Branches: master
https://developer.blender.org/rB45bf470ee9e94e62a038c9faac891744488a1b89

Fix T83712: arctangent math node does not work in Eevee

Caused by my refactoring of the math node.
Somehow this operation slipped through my double checking procedure.

===================================================================

M	source/blender/nodes/intern/math_functions.cc

===================================================================

diff --git a/source/blender/nodes/intern/math_functions.cc b/source/blender/nodes/intern/math_functions.cc
index cc5e9547a96..5a6faa809f2 100644
--- a/source/blender/nodes/intern/math_functions.cc
+++ b/source/blender/nodes/intern/math_functions.cc
@@ -41,6 +41,8 @@ const FloatMathOperationInfo *get_float_math_operation_info(const int operation)
       RETURN_OPERATION_INFO("Sine", "math_sine");
     case NODE_MATH_COSINE:
       RETURN_OPERATION_INFO("Cosine", "math_cosine");
+    case NODE_MATH_TANGENT:
+      RETURN_OPERATION_INFO("Tangent", "math_tangent");
     case NODE_MATH_ARCSINE:
       RETURN_OPERATION_INFO("Arc Sine", "math_arcsine");
     case NODE_MATH_ARCCOSINE:



More information about the Bf-blender-cvs mailing list