Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-05-27 12:04:07 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-27 12:04:07 +0400
commit2247465b997f80eb7b4e57b9cb1a973d8fbfa4a8 (patch)
treee32b5865a12016fb5596112857e6e3fed8b74e19 /source/blender/nodes/composite/node_composite_util.c
parentd612fc04267ca035930eddbfa431f567599baa2c (diff)
style cleanup: nodes
Diffstat (limited to 'source/blender/nodes/composite/node_composite_util.c')
-rw-r--r--source/blender/nodes/composite/node_composite_util.c6
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)