diff options
author | Jacques Lucke <jacques@blender.org> | 2021-05-31 16:15:37 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-05-31 16:48:06 +0300 |
commit | d67c13ca761a865a208d6c9ad4ee2504aa577e94 (patch) | |
tree | 4c477adc526bcd8044399731e55d586c45f62f0e /source | |
parent | d94ba979d890e0a89a3ff9fa5ac8676f389533b5 (diff) |
Cleanup: else-after-return
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface_eyedropper_color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_eyedropper_color.c b/source/blender/editors/interface/interface_eyedropper_color.c index dd8b1e6a23e..6583fa31dbf 100644 --- a/source/blender/editors/interface/interface_eyedropper_color.c +++ b/source/blender/editors/interface/interface_eyedropper_color.c @@ -316,7 +316,7 @@ static bool eyedropper_cryptomatte_sample_fl( if (node->custom1 == CMP_CRYPTOMATTE_SRC_RENDER) { return eyedropper_cryptomatte_sample_render_fl(node, prefix, fpos, r_col); } - else if (node->custom1 == CMP_CRYPTOMATTE_SRC_IMAGE) { + if (node->custom1 == CMP_CRYPTOMATTE_SRC_IMAGE) { return eyedropper_cryptomatte_sample_image_fl(node, crypto, prefix, fpos, r_col); } return false; |