Fix color of point curves if use_textures is on

This commit is contained in:
Matthias Hochsteger 2023-10-30 09:41:39 +01:00
parent 6e6c23b05e
commit fd3a5bbd34

View File

@ -922,7 +922,7 @@ namespace netgen
{ {
pointcurvelist = glGenLists(1); pointcurvelist = glGenLists(1);
glNewList(pointcurvelist,GL_COMPILE); glNewList(pointcurvelist,GL_COMPILE);
//glColor3f (1.0f, 0.f, 0.f); SetTextureMode(0); // disable all textures
for(int i=0; i<mesh->GetNumPointCurves(); i++) for(int i=0; i<mesh->GetNumPointCurves(); i++)
{ {