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:
authorJacques Lucke <jacques@blender.org>2020-09-02 20:10:18 +0300
committerJacques Lucke <jacques@blender.org>2020-09-02 20:10:40 +0300
commitf5e55c33378b96e614710006121860eb880e6820 (patch)
tree4f24b19e6b5e187d9b7b3d43f741c26f2c843fc8 /source/blender/editors/space_graph/graph_select.c
parentf20f82ce3ee55c12adcec024e0133e71183e07b3 (diff)
Cleanup: use bool instead of int in various places
Diffstat (limited to 'source/blender/editors/space_graph/graph_select.c')
-rw-r--r--source/blender/editors/space_graph/graph_select.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_graph/graph_select.c b/source/blender/editors/space_graph/graph_select.c
index 160b731629c..0c05942ec4b 100644
--- a/source/blender/editors/space_graph/graph_select.c
+++ b/source/blender/editors/space_graph/graph_select.c
@@ -95,12 +95,12 @@ typedef enum eGraphVertIndex {
static bool fcurve_handle_sel_check(SpaceGraph *sipo, BezTriple *bezt)
{
if (sipo->flag & SIPO_NOHANDLES) {
- return 0;
+ return false;
}
if ((sipo->flag & SIPO_SELVHANDLESONLY) && BEZT_ISSEL_ANY(bezt) == 0) {
- return 0;
+ return false;
}
- return 1;
+ return true;
}
/* check if the given vertex is within bounds or not */