Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenloader/intern/versioning_common.h
| Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * The versioning code generally expects `SOCK_IN_USE` to be set correctly. This function updates | * The versioning code generally expects `SOCK_IN_USE` to be set correctly. This function updates | ||||
| * the flag on all sockets after changes to the node tree. | * the flag on all sockets after changes to the node tree. | ||||
| */ | */ | ||||
| void version_socket_update_is_used(bNodeTree *ntree); | void version_socket_update_is_used(bNodeTree *ntree); | ||||
| ARegion *do_versions_add_region(int regiontype, const char *name); | ARegion *do_versions_add_region(int regiontype, const char *name); | ||||
| /** | |||||
| * Before geometry nodes will getting dynamic sockets, sockets name has attribute type name. | |||||
| * This path add in attribute_math default_name<AttributeType>() and this changing some | |||||
| * names of sockets. | |||||
| */ | |||||
| void version_node_socket_naming_attribute_defualt_input(bNodeSocket *socket, int node_type); | |||||
| void version_node_socket_naming_attribute_defualt_output(bNodeSocket *socket, int node_type); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||