diff options
author | Jacques Lucke <jacques@blender.org> | 2021-02-15 17:30:17 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-02-15 17:30:17 +0300 |
commit | d3960164163c910d5031a8f076c41b39e0a5503d (patch) | |
tree | 2931c76ced3945e8f06c9c163cba37b69d06f640 /source/blender/editors/space_clip/clip_utils.c | |
parent | b55e7e489504f43076eec423bc8dfb7efbeb4fac (diff) |
Cleanup: clang tidy
Diffstat (limited to 'source/blender/editors/space_clip/clip_utils.c')
-rw-r--r-- | source/blender/editors/space_clip/clip_utils.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/editors/space_clip/clip_utils.c b/source/blender/editors/space_clip/clip_utils.c index bb79eb34129..dbf733413e5 100644 --- a/source/blender/editors/space_clip/clip_utils.c +++ b/source/blender/editors/space_clip/clip_utils.c @@ -509,13 +509,12 @@ static bool mask_has_selection(const bContext *C) if (BKE_mask_point_handles_mode_get(point) == MASK_HANDLE_MODE_STICK) { return true; } - else { - if ((bezt->f1 & SELECT) && (bezt->h1 != HD_VECT)) { - return true; - } - if ((bezt->f3 & SELECT) && (bezt->h2 != HD_VECT)) { - return true; - } + + if ((bezt->f1 & SELECT) && (bezt->h1 != HD_VECT)) { + return true; + } + if ((bezt->f3 & SELECT) && (bezt->h2 != HD_VECT)) { + return true; } } } |