From ee9b71fb1732c5715fc94d781e24d435f85a0666 Mon Sep 17 00:00:00 2001 From: djairoh Date: Sun, 5 May 2024 21:56:06 +0200 Subject: [PATCH] fix: update renderWindow when drawing new points while the timer is paused --- vtk/src/commands/SpawnPointCallback.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vtk/src/commands/SpawnPointCallback.cpp b/vtk/src/commands/SpawnPointCallback.cpp index e29d190..a0f38cd 100644 --- a/vtk/src/commands/SpawnPointCallback.cpp +++ b/vtk/src/commands/SpawnPointCallback.cpp @@ -50,8 +50,7 @@ void SpawnPointCallback::Execute(vtkObject *caller, unsigned long evId, void *ca vtkSmartPointer vertices = vtkSmartPointer::New(); vertices->InsertNextCell(vertex); data->SetVerts(vertices); -// data->Modified(); // These might be needed im not sure. -// ren->GetRenderWindow()->Render(); + ren->GetRenderWindow()->Render(); }