Blender Git Commit Log

Git Commits -> Revision e0b7ecd

Revision e0b7ecd by Nicholas Bishop (cycles-ptex-08)
January 20, 2015, 12:08 (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

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

Commit Details:

Full Hash: e0b7ecd5ef1aa5205b096c08257660dbfe637f04
Parent Commit: 4a132ab
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