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:
authorCharlie Jolly <mistajolly@gmail.com>2021-05-12 13:15:56 +0300
committerCharlie Jolly <mistajolly@gmail.com>2021-05-12 13:15:56 +0300
commit47dd23694c003ba467da86957defa6becbe4fe87 (patch)
tree16b651b882699e25f7f73705f093b38a532d97f9
parent7e823969b59487c5dc2f032424a12365aa95145c (diff)
Fix incorrect labels for math node wrap function
Found in T88151, labels are swapped. Vector math node is not affected.
-rw-r--r--source/blender/nodes/intern/node_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/intern/node_util.c b/source/blender/nodes/intern/node_util.c
index 4076dc852b3..f87e63d195d 100644
--- a/source/blender/nodes/intern/node_util.c
+++ b/source/blender/nodes/intern/node_util.c
@@ -140,8 +140,8 @@ void node_math_update(bNodeTree *UNUSED(ntree), bNode *node)
switch (node->custom1) {
case NODE_MATH_WRAP:
- node_sock_label(sock2, "Min");
- node_sock_label(sock3, "Max");
+ node_sock_label(sock2, "Max");
+ node_sock_label(sock3, "Min");
break;
case NODE_MATH_MULTIPLY_ADD:
node_sock_label(sock2, "Multiplier");