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:
Diffstat (limited to 'source/blender/nodes/texture/node_texture_util.c')
-rw-r--r--source/blender/nodes/texture/node_texture_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/texture/node_texture_util.c b/source/blender/nodes/texture/node_texture_util.c
index 80644157b02..a8117b7b333 100644
--- a/source/blender/nodes/texture/node_texture_util.c
+++ b/source/blender/nodes/texture/node_texture_util.c
@@ -52,7 +52,7 @@
int tex_node_poll_default(bNodeType *UNUSED(ntype), bNodeTree *ntree)
{
- return (strcmp(ntree->idname, "TextureNodeTree")==0);
+ return STREQ(ntree->idname, "TextureNodeTree");
}
void tex_node_type_base(struct bNodeType *ntype, int type, const char *name, short nclass, short flag)