From 3fbc984b069fed441cccdd3416ec71e064235e36 Mon Sep 17 00:00:00 2001 From: Matt Heimlich Date: Wed, 7 May 2014 16:20:17 +0200 Subject: Nodes: add absolute value operation to all math nodes Reviewed By: dingto, brecht Differential Revision: https://developer.blender.org/D507 --- source/blender/compositor/nodes/COM_MathNode.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/compositor/nodes/COM_MathNode.cpp') diff --git a/source/blender/compositor/nodes/COM_MathNode.cpp b/source/blender/compositor/nodes/COM_MathNode.cpp index 42a8cb032ce..ac1c2b3c159 100644 --- a/source/blender/compositor/nodes/COM_MathNode.cpp +++ b/source/blender/compositor/nodes/COM_MathNode.cpp @@ -83,6 +83,9 @@ void MathNode::convertToOperations(NodeConverter &converter, const CompositorCon case 17: /* Modulo */ operation = new MathModuloOperation(); break; + case 18: /* Absolute Value */ + operation = new MathAbsoluteOperation(); + break; } if (operation) { -- cgit v1.2.3