Edit link to point BKE_node.hh instead of BKE_node.h #33

Merged
Julian Eisel merged 1 commits from Mangal-Kushwah/blender-developer-docs:small-fix-in-docs into main 2024-02-26 11:19:18 +01:00
Showing only changes of commit 6706bd45e5 - Show all commits

View File

@ -7,7 +7,7 @@ A good example is this recent node addition: blender/blender@48b08199d5dde4efb7c
A few changes are necessary: 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 - 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). 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. - This file initializes the node type when Blender starts. The node type contains its inputs/outputs, execute callback, and other functions.