Cleanup: Nodes: make it clear that SOCK_IN/_OUT are bitflags.

This commit is contained in:
Bastien Montagne
2019-05-23 15:28:05 +02:00
parent 28ad1e0b1f
commit 7db03a6baa

View File

@@ -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 */