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:
authorMatt Heimlich <matt.heimlich@gmail.com>2014-05-07 18:20:17 +0400
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2014-05-07 18:43:59 +0400
commit3fbc984b069fed441cccdd3416ec71e064235e36 (patch)
tree1c95f9d57457069eb3918deb727fc62b4c83dee5 /source/blender/makesrna/intern/rna_nodetree.c
parent8b8d5a441f5815e83f83bacf8023e2cc3fbb2a04 (diff)
Nodes: add absolute value operation to all math nodes
Reviewed By: dingto, brecht Differential Revision: https://developer.blender.org/D507
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index 0f2380cbad4..c39d3826d8b 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -129,7 +129,8 @@ EnumPropertyItem node_math_items[] = {
{14, "ROUND", 0, "Round", ""},
{15, "LESS_THAN", 0, "Less Than", ""},
{16, "GREATER_THAN", 0, "Greater Than", ""},
- {17, "MODULO", 0, "Modulo", ""},
+ {17, "MODULO", 0, "Modulo", ""},
+ {18, "ABSOLUTE", 0, "Absolute", ""},
{0, NULL, 0, NULL, NULL}
};