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 <campbell@blender.org>2022-09-26 06:58:49 +0300
committerCampbell Barton <campbell@blender.org>2022-09-26 07:12:38 +0300
commit6275541df7e02c40e8c8650bba3104b5df8d34ef (patch)
tree042b852b57a56c9423eb58bc1b7afe1c7c2188fa /source/blender/nodes
parent96d88e56143b1972d9b0cd6c53c6e0cda9b62269 (diff)
Cleanup: use ELEM/STR_ELEM/STREQ macros
Diffstat (limited to 'source/blender/nodes')
-rw-r--r--source/blender/nodes/composite/nodes/node_composite_image.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/composite/nodes/node_composite_image.cc b/source/blender/nodes/composite/nodes/node_composite_image.cc
index 18be416b735..4b73c1a62fb 100644
--- a/source/blender/nodes/composite/nodes/node_composite_image.cc
+++ b/source/blender/nodes/composite/nodes/node_composite_image.cc
@@ -851,7 +851,7 @@ class RenderLayerOperation : public NodeOperation {
/* Other output passes are not supported for now, so allocate them as invalid. */
for (const bNodeSocket *output : this->node()->output_sockets()) {
- if (!STREQ(output->identifier, "Image") && !STREQ(output->identifier, "Alpha")) {
+ if (!STR_ELEM(output->identifier, "Image", "Alpha")) {
get_result(output->identifier).allocate_invalid();
}
}