Edit link to point BKE_node.hh instead of BKE_node.h #33
@ -7,7 +7,7 @@ A good example is this recent node addition: blender/blender@48b08199d5dde4efb7c
|
||||
|
||||
A few changes are necessary:
|
||||
|
||||
1. Add the definition for the node type (`GEO_NODE_*`) in the [nodes header](https://projects.blender.org/blender/blender/src/branch/main/source/blender/blenkernel/BKE_node.h).
|
||||
1. Add the definition for the node type (`GEO_NODE_*`) in the [nodes header](https://projects.blender.org/blender/blender/src/branch/main/source/blender/blenkernel/BKE_node.hh).
|
||||
- This integer is used in some places to access the node type without its string idname
|
||||
2. Add a new file with the node's implementation in the geometry nodes [folder](https://projects.blender.org/blender/blender/src/branch/main/source/blender/nodes/geometry/nodes).
|
||||
- This file initializes the node type when Blender starts. The node type contains its inputs/outputs, execute callback, and other functions.
|
||||
|
Loading…
Reference in New Issue
Block a user