From 7258eeeddee52710d60f5c2d1b6a7c69449d53a8 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Fri, 17 Sep 2004 02:11:03 +0000
Subject: [PATCH] small bug fix: we were applying the raise twice in the
 cell-centered case

---
 Graphics/PostElement.cpp | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/Graphics/PostElement.cpp b/Graphics/PostElement.cpp
index 654b98c3eb..41d84466d7 100644
--- a/Graphics/PostElement.cpp
+++ b/Graphics/PostElement.cpp
@@ -1,4 +1,4 @@
-// $Id: PostElement.cpp,v 1.42 2004-09-01 21:03:16 geuzaine Exp $
+// $Id: PostElement.cpp,v 1.43 2004-09-17 02:11:03 geuzaine Exp $
 //
 // Copyright (C) 1997-2004 C. Geuzaine, J.-F. Remacle
 //
@@ -1092,12 +1092,10 @@ void Draw_VectorElement(int type, Post_View * View, int preproNormals,
           dy *= dd;
           dz *= dd;
         }
-	for(int i = 0; i < 3; i++)
-	  Raise[i][0] = View->Raise[i] * dd;
         Draw_Vector(View->VectorType, View->IntervalsType != DRAW_POST_ISO,
 		    View->ArrowRelHeadRadius, View->ArrowRelStemLength,
 		    View->ArrowRelStemRadius, xc, yc, zc, 
-		    fact * dx, fact * dy, fact * dz, Raise, View->Light);
+		    fact * dx, fact * dy, fact * dz, NULL, View->Light);
       }
     }
   }
-- 
GitLab