mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-14 10:08:32 +05:00
Fix color of point curves if use_textures is on
This commit is contained in:
parent
6e6c23b05e
commit
fd3a5bbd34
@ -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++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user