Skip to content
Snippets Groups Projects
Commit 97ac80ae authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

force color

parent 97c57b5f
Branches
Tags
No related merge requests found
// $Id: CutSphere.cpp,v 1.33 2004-10-30 03:07:29 geuzaine Exp $ // $Id: CutSphere.cpp,v 1.34 2004-10-30 04:23:18 geuzaine Exp $
// //
// Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
// //
...@@ -65,6 +65,7 @@ void GMSH_CutSpherePlugin::draw() ...@@ -65,6 +65,7 @@ void GMSH_CutSpherePlugin::draw()
glGetIntegerv(GL_POLYGON_MODE, mode); glGetIntegerv(GL_POLYGON_MODE, mode);
glPolygonMode(GL_FRONT_AND_BACK, GL_LINE); glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
glPushMatrix(); glPushMatrix();
glColor4ubv((GLubyte *) & CTX.color.fg);
glTranslated(CutSphereOptions_Number[0].def, glTranslated(CutSphereOptions_Number[0].def,
CutSphereOptions_Number[1].def, CutSphereOptions_Number[1].def,
CutSphereOptions_Number[2].def); CutSphereOptions_Number[2].def);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment