From 632e7e5cf446bc090f47ab5d216eb8ae09eae8dc Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Tue, 28 Dec 2004 17:25:44 +0000 Subject: [PATCH] don't require gl2ps --- Plugin/CutPlane.cpp | 3 +-- Plugin/CutSphere.cpp | 3 +-- Plugin/Probe.cpp | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Plugin/CutPlane.cpp b/Plugin/CutPlane.cpp index 870b2f6fe6..dbf6e7c65e 100644 --- a/Plugin/CutPlane.cpp +++ b/Plugin/CutPlane.cpp @@ -1,4 +1,4 @@ -// $Id: CutPlane.cpp,v 1.41 2004-12-28 17:24:25 geuzaine Exp $ +// $Id: CutPlane.cpp,v 1.42 2004-12-28 17:25:44 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -63,7 +63,6 @@ void GMSH_CutPlanePlugin::draw() Post_View **vv = (Post_View **)List_Pointer_Test(CTX.post.list, num); if(!vv) return; glLineWidth(CTX.line_width); - gl2psLineWidth(CTX.line_width * CTX.print.eps_line_width_factor); Draw_PlaneInBoundingBox((*vv)->BBox[0], (*vv)->BBox[2], (*vv)->BBox[4], (*vv)->BBox[1], (*vv)->BBox[3], (*vv)->BBox[5], CutPlaneOptions_Number[0].def, diff --git a/Plugin/CutSphere.cpp b/Plugin/CutSphere.cpp index 55c7a0930c..af0ac714f8 100644 --- a/Plugin/CutSphere.cpp +++ b/Plugin/CutSphere.cpp @@ -1,4 +1,4 @@ -// $Id: CutSphere.cpp,v 1.38 2004-12-28 17:24:25 geuzaine Exp $ +// $Id: CutSphere.cpp,v 1.39 2004-12-28 17:25:44 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -68,7 +68,6 @@ void GMSH_CutSpherePlugin::draw() glPushMatrix(); glColor4ubv((GLubyte *) & CTX.color.fg); glLineWidth(CTX.line_width); - gl2psLineWidth(CTX.line_width * CTX.print.eps_line_width_factor); glTranslated(CutSphereOptions_Number[0].def, CutSphereOptions_Number[1].def, CutSphereOptions_Number[2].def); diff --git a/Plugin/Probe.cpp b/Plugin/Probe.cpp index 73fb886698..7ffffe3377 100644 --- a/Plugin/Probe.cpp +++ b/Plugin/Probe.cpp @@ -1,4 +1,4 @@ -// $Id: Probe.cpp,v 1.4 2004-12-28 17:24:25 geuzaine Exp $ +// $Id: Probe.cpp,v 1.5 2004-12-28 17:25:44 geuzaine Exp $ // // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle // @@ -67,7 +67,6 @@ void GMSH_ProbePlugin::draw() double z = ProbeOptions_Number[2].def; glColor4ubv((GLubyte *) & CTX.color.fg); glLineWidth(CTX.line_width); - gl2psLineWidth(CTX.line_width * CTX.print.eps_line_width_factor); if(x >= v->BBox[0] && x <= v->BBox[1] && y >= v->BBox[2] && y <= v->BBox[3] && z >= v->BBox[4] && z <= v->BBox[5]){ -- GitLab