diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2017-02-09 23:16:06 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2017-02-09 23:26:38 +0300 |
commit | 0ce76a427475c469e22fbe02e5b93b9e943aaf47 (patch) | |
tree | 5743ddad073831887df3edbbcefe49ccab11b6da /source/blender/editors/interface/interface_style.c | |
parent | ca9c1de33e2f770f0f48d4a1fbde919328dece8f (diff) |
Fix missing highlights in 3D View
Things like selection outlines didn't work at all.
Caused by rBc973e8d2da5cf3f.
When splitting up bitflags, the equivalent to `foo->flag & (bar1 + bar2)` is
`(foo->flag1 & bar1) || (foo->flag2 & bar2)`, *not*
`(foo->flag1 & bar1) && (foo->flag2 & bar2)`.
Also, let's please avoid using '+' operator for bitwise operations, a
binary addition is a binary OR *with* cary, which can cause quite some damage.
Diffstat (limited to 'source/blender/editors/interface/interface_style.c')
0 files changed, 0 insertions, 0 deletions