Add utility function to copy default values from one tree to another

The trees should match in nodes layout completely.
This commit is contained in:
2017-08-29 12:20:55 +02:00
parent 9ca03ba410
commit c1582667ca
4 changed files with 39 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ struct bNodeSocket *node_add_socket_from_template(struct bNodeTree *ntree, struc
void node_verify_socket_templates(struct bNodeTree *ntree, struct bNode *node);
void node_socket_init_default_value(struct bNodeSocket *sock);
void node_socket_copy_default_value(struct bNodeSocket *to, struct bNodeSocket *from);
void node_socket_copy_default_value(struct bNodeSocket *to, const struct bNodeSocket *from);
void register_standard_node_socket_types(void);
#endif