From a5f02142ff18ba618ca2e8162099199f69101094 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@gmail.com> Date: Fri, 13 Jan 2017 17:12:42 +0000 Subject: [PATCH] Fixes a bug, when trying to copy initial snapshot. Happened to Miha once ;) --- trisurf/VTKRendering.py | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/trisurf/VTKRendering.py b/trisurf/VTKRendering.py index 76ff9e7..97b06ae 100644 --- a/trisurf/VTKRendering.py +++ b/trisurf/VTKRendering.py @@ -103,10 +103,9 @@ interactor = vtkRenderWindowInteractor() interactor.SetRenderWindow(self.renderer_window) interactor.Initialize() - interactor.AddObserver("TimerEvent", self.RenderUpdate) + interactor.AddObserver("TimerEvent", self.RenderUpdate) timerIDR = interactor.CreateRepeatingTimer(1000) interactor.Start() - return def lastVTU(self): -- Gitblit v1.9.3