From 7adf9e88fcad146bb9904220c0f1625bd75c179b Mon Sep 17 00:00:00 2001 From: Mohcine Chraibi <m.chraibi@fz-juelich.de> Date: Fri, 7 Jun 2019 21:03:08 +0200 Subject: [PATCH] fix typo --- src/TimerCallback.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/TimerCallback.cpp b/src/TimerCallback.cpp index 8d0290b..e44274b 100644 --- a/src/TimerCallback.cpp +++ b/src/TimerCallback.cpp @@ -211,11 +211,10 @@ void TimerCallback::Execute(vtkObject *caller, unsigned long eventId, std::abs(0.9-renderer->GetBackground()[1]), std::abs(1.0-renderer->GetBackground()[2]) ); - // text txtActor->GetTextProperty()->SetOpacity(0.7); double pos_x = 50*(trainStart._x + trainEnd._x+0.5); -z double pos_y = 50*(trainStart._y + trainEnd._y+0.5); + double pos_y = 50*(trainStart._y + trainEnd._y+0.5); txtActor->SetPosition (pos_x, pos_y+2, 20); txtActor->SetInput (label); -- GitLab