From fd81504966281e5a85692b1fa5466a506ebe8fb0 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 28 Aug 2006 04:03:54 +0000 Subject: [PATCH] *** empty log message *** --- Graphics/Geom.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Graphics/Geom.cpp b/Graphics/Geom.cpp index 3c2a33b1f2..c5a6e389d6 100644 --- a/Graphics/Geom.cpp +++ b/Graphics/Geom.cpp @@ -1,4 +1,4 @@ -// $Id: Geom.cpp,v 1.119 2006-08-28 02:56:27 geuzaine Exp $ +// $Id: Geom.cpp,v 1.120 2006-08-28 04:03:54 geuzaine Exp $ // // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle // @@ -445,15 +445,15 @@ void Draw_Geom() glColor4ubv((GLubyte *) & CTX.color.axes); glLineWidth(CTX.line_width); gl2psLineWidth(CTX.line_width * CTX.print.eps_line_width_factor); - if(CTX.axes_auto_position){ + if(!CTX.axes_auto_position){ + Draw_Axes(CTX.axes, CTX.axes_tics, CTX.axes_format, CTX.axes_label, + CTX.axes_position); + } + else if(geometryExists){ double bb[6] = {CTX.min[0], CTX.max[0], CTX.min[1], CTX.max[1], CTX.min[2], CTX.max[2]}; Draw_Axes(CTX.axes, CTX.axes_tics, CTX.axes_format, CTX.axes_label, bb); } - else{ - Draw_Axes(CTX.axes, CTX.axes_tics, CTX.axes_format, CTX.axes_label, - CTX.axes_position); - } } if(CTX.draw_rotation_center){ -- GitLab