diff options
author | Pablo Vazquez <pablo@blender.org> | 2021-10-25 17:52:17 +0300 |
---|---|---|
committer | Pablo Vazquez <pablo@blender.org> | 2021-10-25 17:52:27 +0300 |
commit | 2a7b9f2d45c345ee910a430e7035fd3d406de8f7 (patch) | |
tree | cb2480bb62283e934bc81efb5f76a69d88552588 | |
parent | 6da63b19fff2f690aa155bfd877cb8574d8c2987 (diff) |
Cleanup: silence warning in recent commit
Thanks to Dr. Sybren for pointing it out!
-rw-r--r-- | source/blender/editors/space_nla/nla_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_nla/nla_draw.c b/source/blender/editors/space_nla/nla_draw.c index 0c81f461369..bf2d20cf4c9 100644 --- a/source/blender/editors/space_nla/nla_draw.c +++ b/source/blender/editors/space_nla/nla_draw.c @@ -550,7 +550,7 @@ static void nla_draw_strip(SpaceNla *snla, /* draw strip outline * - color used here is to indicate active vs non-active */ - if (strip->flag & NLASTRIP_FLAG_ACTIVE | strip->flag & NLASTRIP_FLAG_SELECT) { + if (strip->flag & (NLASTRIP_FLAG_ACTIVE | NLASTRIP_FLAG_SELECT)) { /* strip should appear 'sunken', so draw a light border around it */ color[0] = color[1] = color[2] = 1.0f; /* FIXME: hardcoded temp-hack colors */ } |