From 7280c5db856c2643bf40750915619fefcf7c007b Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 19 Nov 2005 14:59:41 +0000 Subject: [PATCH] tweak automatic polygon offset check --- Graphics/Draw.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Graphics/Draw.cpp b/Graphics/Draw.cpp index 0219eefd9c..18c464b4ef 100644 --- a/Graphics/Draw.cpp +++ b/Graphics/Draw.cpp @@ -1,4 +1,4 @@ -// $Id: Draw.cpp,v 1.79 2005-10-09 18:00:54 geuzaine Exp $ +// $Id: Draw.cpp,v 1.80 2005-11-19 14:59:41 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -45,9 +45,9 @@ int NeedPolygonOffset() for(int i = 0; i < List_Nbr(CTX.post.list); i++){ Post_View *v = *(Post_View**)List_Pointer(CTX.post.list, i); if(v->Visible){ - if(v->ShowElement || v->Axes) + if(v->ShowElement) return 1; - if((v->NbST || v->NbSQ) && (v->IntervalsType == DRAW_POST_ISO)) + if((v->NbST || v->NbSQ) && (v->Axes || v->IntervalsType == DRAW_POST_ISO)) return 1; } } -- GitLab