Fix cast shadows (material option) in the viewport
authorMike Erwin <significant.bit@gmail.com>
Mon, 5 Sep 2016 17:05:00 +0000 (13:05 -0400)
committerMike Erwin <significant.bit@gmail.com>
Mon, 5 Sep 2016 17:05:47 +0000 (13:05 -0400)
commit8f509698d796f04b149d254542f39f1f59b33465
tree4b0d0cacfc3f3e0844d087b846360c1689d0dead
parent56d2f4c20a8efcc839afbe31a3de2da15c34b54f
Fix cast shadows (material option) in the viewport

Fix cast shadows options (in material tab) not working in the viewport.
An off-by-one error. See D2194 for more.

Committing for Ulysse Martin (youle) who found & fixed this.
source/blender/editors/space_view3d/drawobject.c