Blender Git Loki

Git Commits -> Revision 8b2640f

Revision 8b2640f by Campbell Barton (master)
May 2, 2017, 22:23 (GMT)
Draw Manager: fix draw-state switching logic

Changing states didn't properly reset between shading groups
causing the GL state to be wrong based on draw order.

States are now only set when changed.

Commit Details:

Full Hash: 8b2640f08858f200eda84e19f74ed234a2833eb2
Parent Commit: 85ca315
Lines Changed: +224, -117

6 Modified Paths:

/source/blender/draw/intern/draw_common.c (+3, -3) (Diff)
/source/blender/draw/intern/draw_manager.c (+215, -111) (Diff)
/source/blender/draw/intern/draw_view.c (+2, -0) (Diff)
/source/blender/draw/intern/DRW_render.h (+2, -1) (Diff)
/source/blender/draw/modes/edit_armature_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/object_mode.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021