diff options
-rw-r--r-- | source/blender/editors/space_view3d/drawmesh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_view3d/drawmesh.c b/source/blender/editors/space_view3d/drawmesh.c index 17648dc8861..3b5ebbee42a 100644 --- a/source/blender/editors/space_view3d/drawmesh.c +++ b/source/blender/editors/space_view3d/drawmesh.c @@ -883,6 +883,7 @@ static void tex_mat_set_texture_cb(void *userData, int mat_nr, void *attribs) glMateriali(GL_FRONT_AND_BACK, GL_SHININESS, 0); /* bind texture */ + glColorMaterial(GL_FRONT_AND_BACK, GL_DIFFUSE); glEnable(GL_COLOR_MATERIAL); glEnable(GL_TEXTURE_2D); |