diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2020-06-05 14:39:57 +0300 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2020-06-05 14:40:22 +0300 |
commit | 5ed2ed28ab308ed65290c3a36f0ff652cb710e94 (patch) | |
tree | 538190997c164ca981162fdb1c22ba680220cd92 | |
parent | dc69747f72e6150c8cda73afe4d0d7e7667d6c90 (diff) |
CodeCleanup: Supressed warning
-rw-r--r-- | source/blender/editors/armature/armature_select.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/armature_select.c b/source/blender/editors/armature/armature_select.c index 4b8bbe39a16..8e03dbc7dc3 100644 --- a/source/blender/editors/armature/armature_select.c +++ b/source/blender/editors/armature/armature_select.c @@ -1205,8 +1205,8 @@ bool ED_armature_edit_select_op_from_tagged(bArmature *arm, const int sel_op) ebone->temp.i = ebone->flag; /* When there is a partial selection without both endpoints, only select an endpoint. */ - if ((is_inside_flag & BONESEL_BONE) && (is_inside_flag & (BONESEL_ROOT | BONESEL_TIP)) && - ((is_inside_flag & (BONESEL_ROOT | BONESEL_TIP)) != (BONESEL_ROOT | BONESEL_TIP))) { + if ((is_inside_flag & BONESEL_BONE) && + ELEM(is_inside_flag & (BONESEL_ROOT | BONESEL_TIP), BONESEL_ROOT, BONESEL_TIP)) { is_inside_flag &= ~BONESEL_BONE; } |