From d00e25d854a5c9d4234b750000bbd01749fe4337 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@fe.uni-lj.si>
Date: Fri, 13 Jan 2017 23:21:38 +0000
Subject: [PATCH] Fix in importing VTKRendering

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

diff --git a/trisurf/tsmgr.py b/trisurf/tsmgr.py
index 1143717..3746ce7 100644
--- a/trisurf/tsmgr.py
+++ b/trisurf/tsmgr.py
@@ -16,7 +16,6 @@
 	from urlparse import urlparse
 	from vtk import *
 	
-from . import VTKRendering
 #import io
 
 from IPython import embed
@@ -261,6 +260,7 @@
 	#if sys.version_info>=(3,0):
 	#	print("Preview works only with python 2.7")
 	#	exit(1)
+	from . import VTKRendering
 	if host['name'] == socket.gethostname():
 		VTKRendering.Renderer(args,host)
 

--
Gitblit v1.9.3