Cleanup: Nodes: make it clear that SOCK_IN/_OUT are bitflags.
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user