Blender Git Loki
Git Commits -> Revision 640b0ad
Revision 640b0ad by Nicholas Bishop (master) March 8, 2012, 06:47 (GMT) |
Code cleanup: use named values for options in DerivedMesh drawing. The DMSetDrawOptions[Tex] callbacks return 0 (skip), 1 (draw), or 2 (either stipple or skip mcols.) In the CDDM, EDDM, and CCGDM draw functions, as well as the callbacks in drawmesh/drawobject, replace these numbers with values from an enum, DMDrawOptions. |
Commit Details:
Full Hash: 640b0adb9844f506ed68f99f8761a1f4daa288b0
SVN Revision: 44731
Parent Commit: ee84084
Lines Changed: +190, -143
6 Modified Paths:
/source/blender/blenkernel/BKE_DerivedMesh.h (+13, -2) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+25, -23) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+29, -24) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+18, -15) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+41, -34) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+64, -45) (Diff)
/source/blender/blenkernel/intern/cdderivedmesh.c (+25, -23) (Diff)
/source/blender/blenkernel/intern/editderivedmesh.c (+29, -24) (Diff)
/source/blender/blenkernel/intern/subsurf_ccg.c (+18, -15) (Diff)
/source/blender/editors/space_view3d/drawmesh.c (+41, -34) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+64, -45) (Diff)