diff options
Diffstat (limited to 'source/blender/nodes/composite/node_composite_util.c')
-rw-r--r-- | source/blender/nodes/composite/node_composite_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/nodes/composite/node_composite_util.c b/source/blender/nodes/composite/node_composite_util.c index 02a5f410d83..8e279cf6d68 100644 --- a/source/blender/nodes/composite/node_composite_util.c +++ b/source/blender/nodes/composite/node_composite_util.c @@ -34,19 +34,19 @@ int cmp_node_poll_default(bNodeType *UNUSED(ntype), bNodeTree *ntree) { - return (strcmp(ntree->idname, "CompositorNodeTree")==0); + return STREQ(ntree->idname, "CompositorNodeTree"); } void cmp_node_update_default(bNodeTree *UNUSED(ntree), bNode *node) { bNodeSocket *sock; - for (sock= node->outputs.first; sock; sock= sock->next) { + for (sock = node->outputs.first; sock; sock = sock->next) { if (sock->cache) { //free_compbuf(sock->cache); //sock->cache= NULL; } } - node->need_exec= 1; + node->need_exec = 1; } void cmp_node_type_base(bNodeType *ntype, int type, const char *name, short nclass, short flag) |