From 3cd5f4a96d445b55da8a7e6da8509bbd7d5d41b8 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Thu, 15 Sep 2016 06:29:31 +0000
Subject: [PATCH] Fixes #19.

---
 python/trisurf/trisurf.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/trisurf/trisurf.py b/python/trisurf/trisurf.py
index 8e60d69..c175301 100644
--- a/python/trisurf/trisurf.py
+++ b/python/trisurf/trisurf.py
@@ -495,7 +495,7 @@
 
 
 	def getLastVTU(self):
-		vtuidx=self.getLastIteration() #-int(self.tape.getValue("inititer"))+1
+		vtuidx=self.getLastIteration()-int(self.tape.getValue("inititer"))
 		if vtuidx<0:
 			return None
 		else:

--
Gitblit v1.9.3