Cleanup: Use enum for "in" vs. "out" node sockets

This commit is contained in:
2021-03-26 14:25:52 -04:00
parent 12193035ed
commit 35d5cc8982
4 changed files with 41 additions and 25 deletions

View File

@@ -41,7 +41,7 @@ extern "C" {
struct bNodeSocket *node_add_socket_from_template(struct bNodeTree *ntree,
struct bNode *node,
struct bNodeSocketTemplate *stemp,
int in_out);
eNodeSocketInOut in_out);
void node_verify_socket_templates(struct bNodeTree *ntree, struct bNode *node);