From 57b7c9b853bb44353dd431dacce3f7c7584b25c1 Mon Sep 17 00:00:00 2001
From: Oliver Bock <oliver.bock@aei.mpg.de>
Date: Tue, 20 Jul 2010 18:14:08 +0200
Subject: [PATCH] Make sure line of sight end caps are visible when overlapped
 by other axes

---
 src/pulsaranimationwidget.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/pulsaranimationwidget.cpp b/src/pulsaranimationwidget.cpp
index 49614e1..c773b30 100644
--- a/src/pulsaranimationwidget.cpp
+++ b/src/pulsaranimationwidget.cpp
@@ -258,19 +258,19 @@ void PulsarAnimationWidget::paintGL()
             glColor3f(0.33f, 0.33f, 1.0f);
             glPushMatrix();
             {
-                glTranslatef(0.0, 0.0, -5.0);
-                gluCylinder(m_quadricLineOfSight, 0.025, 0.025, 10.0, 32, 1);
+                glTranslatef(0.0, 0.0, -5.01);
+                gluCylinder(m_quadricLineOfSight, 0.025, 0.025, 10.02, 32, 1);
             }
             glPopMatrix();
             glPushMatrix();
             {
-                glTranslatef(0.0, 0.0, -5.0);
+                glTranslatef(0.0, 0.0, -5.01);
                 gluDisk(m_quadricLineOfSightTop1, 0, 0.025, 32, 8);
             }
             glPopMatrix();
             glPushMatrix();
             {
-                glTranslatef(0.0, 0.0, 5.0);
+                glTranslatef(0.0, 0.0, 5.01);
                 gluDisk(m_quadricLineOfSightTop2, 0, 0.025, 32, 8);
             }
             glPopMatrix();
-- 
GitLab