diff options
author | Jacques Lucke <jacques@blender.org> | 2020-09-02 20:10:18 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-09-02 20:10:40 +0300 |
commit | f5e55c33378b96e614710006121860eb880e6820 (patch) | |
tree | 4f24b19e6b5e187d9b7b3d43f741c26f2c843fc8 /source/blender/editors/object/object_hook.c | |
parent | f20f82ce3ee55c12adcec024e0133e71183e07b3 (diff) |
Cleanup: use bool instead of int in various places
Diffstat (limited to 'source/blender/editors/object/object_hook.c')
-rw-r--r-- | source/blender/editors/object/object_hook.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/object/object_hook.c b/source/blender/editors/object/object_hook.c index 6bb03e62191..aaf76ff649e 100644 --- a/source/blender/editors/object/object_hook.c +++ b/source/blender/editors/object/object_hook.c @@ -482,18 +482,18 @@ static bool hook_op_edit_poll(bContext *C) if (obedit) { if (ED_operator_editmesh(C)) { - return 1; + return true; } if (ED_operator_editsurfcurve(C)) { - return 1; + return true; } if (ED_operator_editlattice(C)) { - return 1; + return true; } - // if (ED_operator_editmball(C)) return 1; + // if (ED_operator_editmball(C)) return true; } - return 0; + return false; } static Object *add_hook_object_new( |