Fix for inline documentation of FOREACH_NODETREE.

Was missing id macro variable.
This commit is contained in:
Lukas Tönne 2016-05-11 10:52:41 +02:00
parent 18e5e2fa1a
commit de72dcadbb
1 changed files with 2 additions and 2 deletions

View File

@ -642,12 +642,12 @@ void BKE_node_tree_unlink_id(ID *id, struct bNodeTree *ntree);
* Examples:
*
* \code{.c}
* FOREACH_NODETREE(bmain, nodetree) {
* FOREACH_NODETREE(bmain, nodetree, id) {
* if (id == nodetree)
* printf("This is a linkable node tree");
* } FOREACH_NODETREE_END
*
* FOREACH_NODETREE(bmain, nodetree) {
* FOREACH_NODETREE(bmain, nodetree, id) {
* if (nodetree->idname == "ShaderNodeTree")
* printf("This is a shader node tree);
* if (GS(id) == ID_MA)