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>2014-04-11 05:25:41 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-04-11 05:33:29 +0400
commita15b3c4d111613993eca23d5f99600c2052469e7 (patch)
tree18d4bcd4291013ecf12a24def023d6f7a73ebd65 /source/blender/editors/space_node/node_relationships.c
parent52af5fa31fbc0a1855a28d957d4387e5d6a15170 (diff)
Code cleanup: use bool
Diffstat (limited to 'source/blender/editors/space_node/node_relationships.c')
-rw-r--r--source/blender/editors/space_node/node_relationships.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_node/node_relationships.c b/source/blender/editors/space_node/node_relationships.c
index 7d9bf4b67f2..e1d66b9f916 100644
--- a/source/blender/editors/space_node/node_relationships.c
+++ b/source/blender/editors/space_node/node_relationships.c
@@ -206,7 +206,7 @@ static void snode_autoconnect(SpaceNode *snode, const bool allow_multiple, const
for (nli = nodelist->first; nli; nli = nli->next) {
bNode *node_fr, *node_to;
bNodeSocket *sock_fr, *sock_to;
- int has_selected_inputs = 0;
+ bool has_selected_inputs = false;
if (nli->next == NULL) break;
@@ -770,7 +770,7 @@ static int cut_links_exec(bContext *C, wmOperator *op)
RNA_END;
if (i > 1) {
- int found = false;
+ bool found = false;
bNodeLink *link, *next;
ED_preview_kill_jobs(C);