Blender Git Commit Log

Git Commits -> Revision 8604ec9

Revision 8604ec9 by Nicholas Bishop (master)
January 20, 2015, 13:17 (GMT)
De-duplicate large block of shared code for GL vert attribs

Code in ccgdm_draw_attrib_vertex() was entirely the same as the top
portion of the code in cddm_draw_attrib_vertex(). Moved this code to a
new function, DM_draw_attrib_vertex().

ccgdm_draw_attrib_vertex() was removed in favor of calling
DM_draw_attrib_vertex(). cddm_draw_attrib_vertex() still does a couple
extra things, so it still exists but calls DM_draw_attrib_vertex().

In the interest of easy code review, no changes made to the code in
DM_draw_attrib_vertex() other than the new name and an added comment.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D1010

Commit Details:

Full Hash: 8604ec9053c14178a9c06feda1b9688741b124a0
Parent Commit: 58e5509
Lines Changed: +68, -113

4 Modified Paths:

/source/blender/blenkernel/BKE_DerivedMesh.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+1, -53) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+63, -0) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+2, -60) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021