From f0ed4adb6af72a06527f27f89f1e5bfc146195a4 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Mon, 27 Jun 2005 19:33:21 +0000 Subject: [PATCH] don't draw the trajectory if LineWidth==0 --- Graphics/PostElement.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Graphics/PostElement.cpp b/Graphics/PostElement.cpp index 2f19c140a4..28d5d209bb 100644 --- a/Graphics/PostElement.cpp +++ b/Graphics/PostElement.cpp @@ -1,4 +1,4 @@ -// $Id: PostElement.cpp,v 1.66 2005-06-08 21:31:11 geuzaine Exp $ +// $Id: PostElement.cpp,v 1.67 2005-06-27 19:33:21 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -975,7 +975,7 @@ void Draw_VectorElement(int type, Post_View * View, int preproNormals, if(ext_nbcomp == 1){ Draw_ScalarElement(type, View, preproNormals, ext_min, ext_max, xx, yy, zz, ext_norm); - if(type == POST_POINT && ts > 0) { // draw point "trajectory" + if(type == POST_POINT && ts > 0 && View->LineWidth) { // draw point "trajectory" if(View->LineType) { double dx, dy, dz, dx2, dy2, dz2, XX[2], YY[2], ZZ[2]; for(int j = 0; j < ts; j++) { -- GitLab