Blender Git Loki

Git Commits -> Revision b4e484e

Revision b4e484e by Bastien Montagne (master)
October 30, 2012, 11:00 (GMT)
Fix for own r51737.

Refactoring of draw code showed another problem: The MCol we want to draw may change without dm rebuild (e.g. when enabling solid textured option)! Also, choosing which MCol layer to use in GPU code is stupid, different draw modes use different layers/order of precedence!

Solved this by adding a new colType parameter to GPU_color_setup, and removing any 'color choosing' code from gpu_buffers.c.

Commit Details:

Full Hash: b4e484e21189e4b30b20439f41f6ba1c15bb7581
SVN Revision: 51759
Parent Commit: 6341bc2
Lines Changed: +66, -76

3 Modified Paths:

/source/blender/blenkernel/intern/cdderivedmesh.c (+32, -33) (Diff)
/source/blender/gpu/GPU_buffers.h (+17, -16) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+17, -27) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021