Cleanup: move doc-string into header
This commit is contained in:
parent
bc2220733a
commit
0e5dab0831
|
@ -713,6 +713,11 @@ bNode *node_copy_with_mapping(bNodeTree *dst_tree,
|
|||
|
||||
bNode *node_copy(bNodeTree *dst_tree, const bNode &src_node, int flag, bool use_unique);
|
||||
|
||||
/**
|
||||
* Free the node itself.
|
||||
*
|
||||
* \note ID user reference-counting and changing the `nodes_by_id` vector are up to the caller.
|
||||
*/
|
||||
void node_free_node(bNodeTree *tree, bNode *node);
|
||||
|
||||
} // namespace blender::bke
|
||||
|
|
|
@ -2952,11 +2952,6 @@ void nodeRebuildIDVector(bNodeTree *node_tree)
|
|||
|
||||
namespace blender::bke {
|
||||
|
||||
/**
|
||||
* Free the node itself.
|
||||
*
|
||||
* \note: ID user reference-counting and changing the `nodes_by_id` vector are up to the caller.
|
||||
*/
|
||||
void node_free_node(bNodeTree *ntree, bNode *node)
|
||||
{
|
||||
/* since it is called while free database, node->id is undefined */
|
||||
|
|
Loading…
Reference in New Issue