Page MenuHome

De-duplicate large block of shared code for GL vert attribs
ClosedPublic

Authored by Nicholas Bishop (nicholasbishop) on Jan 20 2015, 12:28 PM.

Details

Summary

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.

Diff Detail

Repository
rB Blender

Event Timeline

Nicholas Bishop (nicholasbishop) retitled this revision from to De-duplicate large block of shared code for GL vert attribs.
This revision was automatically updated to reflect the committed changes.

Reopening, this tool apparently doesn't understand git branches.

This revision is now accepted and ready to land.Jan 20 2015, 2:14 PM
This revision was automatically updated to reflect the committed changes.