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:
authorBastien Montagne <bastien@blender.org>2020-09-25 11:20:33 +0300
committerBastien Montagne <bastien@blender.org>2020-09-25 11:24:32 +0300
commitdb76de147e9ab74ba1355198c1c28bc924a990ce (patch)
treebcfde45170f771d618ffe4fbaee7682dc5e5c9fc /source/blender/editors/space_graph/graph_edit.c
parent59afbf0c047588fc3d819b22d7a854e37b20d081 (diff)
Cleanup: SpaceGraph ED code: use boolean litterals when needed.
Diffstat (limited to 'source/blender/editors/space_graph/graph_edit.c')
-rw-r--r--source/blender/editors/space_graph/graph_edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/graph_edit.c b/source/blender/editors/space_graph/graph_edit.c
index 90fe95c6818..6467ba65975 100644
--- a/source/blender/editors/space_graph/graph_edit.c
+++ b/source/blender/editors/space_graph/graph_edit.c
@@ -2731,7 +2731,7 @@ static bool graphkeys_framejump_poll(bContext *C)
{
/* prevent changes during render */
if (G.is_rendering) {
- return 0;
+ return false;
}
return graphop_visible_keyframes_poll(C);
@@ -3620,7 +3620,7 @@ static bool graph_driver_delete_invalid_poll(bContext *C)
/* firstly, check if in Graph Editor */
if ((area == NULL) || (area->spacetype != SPACE_GRAPH)) {
- return 0;
+ return false;
}
/* try to init Anim-Context stuff ourselves and check */