Blender Git Commit Log

Git Commits -> Revision 3826e77

Revision 3826e77 by Dalai Felinto (master)
May 16, 2017, 14:26 (GMT)
Draw Manager: Small cleanup on bool and bitwise

We should avoid casting from an int to a flag.

In this case it is probably fine, but if the OB_MODE_SCULPT
was too high it can overflow the bool.

(also adding explicit parenthesis to a flag check)

Commit Details:

Full Hash: 3826e77593e44b441dc4f4162083c4a3ae6fe044
Parent Commit: b11168c
Lines Changed: +2, -2

2 Modified Paths:

/source/blender/draw/engines/clay/clay_engine.c (+1, -1) (Diff)
/source/blender/draw/modes/object_mode.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021