Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/subsurf_ccg.c
| Context not available. | |||||
| if (BKE_pbvh_has_faces(ccgdm->pbvh)) { | if (BKE_pbvh_has_faces(ccgdm->pbvh)) { | ||||
| BKE_pbvh_draw(ccgdm->pbvh, partial_redraw_planes, NULL, | BKE_pbvh_draw(ccgdm->pbvh, partial_redraw_planes, NULL, | ||||
| setMaterial, false, fast); | setMaterial, false, fast); | ||||
| glShadeModel(GL_FLAT); | |||||
| } | } | ||||
| return; | return; | ||||
| Context not available. | |||||
| MEM_freeN(matconv); | MEM_freeN(matconv); | ||||
| } | } | ||||
| glShadeModel(GL_FLAT); | glShadeModel(GL_SMOOTH); | ||||
| } | } | ||||
| static void ccgDM_drawFacesGLSL(DerivedMesh *dm, DMSetMaterial setMaterial) | static void ccgDM_drawFacesGLSL(DerivedMesh *dm, DMSetMaterial setMaterial) | ||||
| Context not available. | |||||