Blender Git Loki

Git Commits -> Revision 0ce76a4

Revision 0ce76a4 by Julian Eisel (master)
February 9, 2017, 20:26 (GMT)
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.

Commit Details:

Full Hash: 0ce76a427475c469e22fbe02e5b93b9e943aaf47
Parent Commit: ca9c1de
Lines Changed: +4, -5

1 Modified Path:

/source/blender/editors/space_view3d/drawobject.c (+4, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021