From 7db03a6baa472e4f4daf76a95cc2291fa2599722 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 23 May 2019 15:28:05 +0200 Subject: Cleanup: Nodes: make it clear that SOCK_IN/_OUT are bitflags. --- source/blender/makesdna/DNA_node_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 3890fc63f3f..342641f00ac 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -161,8 +161,8 @@ typedef enum eNodeSocketDrawShape { /* socket side (input/output) */ typedef enum eNodeSocketInOut { - SOCK_IN = 1, - SOCK_OUT = 2, + SOCK_IN = 1 << 0, + SOCK_OUT = 1 << 1, } eNodeSocketInOut; /* sock->flag, first bit is select */ -- cgit v1.2.3