Blender Git Loki
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