diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-19 05:37:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-19 05:37:18 +0300 |
commit | 740adf2a4b30abf86830daebec1f990c96bfe504 (patch) | |
tree | af90c560fb5250239c3b4e29f5095c369408319a /source/blender/nodes/shader | |
parent | db8f662cc980a6746de2b8d5f45e74d20ea9085f (diff) |
Cleanup: style
Diffstat (limited to 'source/blender/nodes/shader')
-rw-r--r-- | source/blender/nodes/shader/node_shader_tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/shader/node_shader_tree.c b/source/blender/nodes/shader/node_shader_tree.c index 116545f4f2b..2c69da2d9cd 100644 --- a/source/blender/nodes/shader/node_shader_tree.c +++ b/source/blender/nodes/shader/node_shader_tree.c @@ -275,8 +275,8 @@ static bNode *ntree_group_output_node(bNodeTree *ntree) bNode *output_node = NULL; for (bNode *node = ntree->nodes.first; node; node = node->next) { - if (node->type == NODE_GROUP_OUTPUT && - node->flag & NODE_DO_OUTPUT) + if ((node->type == NODE_GROUP_OUTPUT) && + (node->flag & NODE_DO_OUTPUT)) { output_node = node; } |