diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-07-29 03:45:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-07-29 03:45:53 +0300 |
commit | 012ed9ca9fa426d55869697d3556d078346b3cf6 (patch) | |
tree | 96a8ac04955c59b8e646e7a6f94d7ae64baa4348 /source | |
parent | 0f075c25c4dc025af1e26c98b49df904dfbb15ab (diff) |
Fix incorrect flag check in overlay relationship lines
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/draw/engines/overlay/overlay_extra.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/overlay/overlay_extra.c b/source/blender/draw/engines/overlay/overlay_extra.c index 47f05eda58e..94e88c61b78 100644 --- a/source/blender/draw/engines/overlay/overlay_extra.c +++ b/source/blender/draw/engines/overlay/overlay_extra.c @@ -1339,7 +1339,7 @@ static void OVERLAY_relationship_lines(OVERLAY_ExtraCallBuffers *cb, else { const bConstraintTypeInfo *cti = BKE_constraint_typeinfo_get(curcon); - if ((cti && cti->get_constraint_targets) && (curcon->ui_expand_flag && (1 << 0))) { + if ((cti && cti->get_constraint_targets) && (curcon->ui_expand_flag & (1 << 0))) { ListBase targets = {NULL, NULL}; bConstraintTarget *ct; |