== Sculpt Mode ==

Fixed bug reported here:
http://blenderartists.org/forum/showthread.php?t=102975

* Removed an opengl texture attribute change used while drawing the propset sculpt brush; was causing model shading to disappear on textured models.
This commit is contained in:
Nicholas Bishop
2007-08-13 01:01:32 +00:00
parent bbe4f83de2
commit bbb1f26b9c

View File

@@ -2947,7 +2947,6 @@ void drawview3dspace(ScrArea *sa, void *spacedata)
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexEnvf(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
glPushMatrix();
glTranslatef(pd->origloc[0], pd->origloc[1], 0);