From 5c3143e7b7d0979d6eed07b6dfbe9f214159bdbb Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Tue, 31 May 2016 19:42:00 +0000
Subject: [PATCH] Use nucleus displaced centre in vertex move

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

diff --git a/python/trisurf/tsmgr.py b/python/trisurf/tsmgr.py
index 8b38c95..fa7d20f 100644
--- a/python/trisurf/tsmgr.py
+++ b/python/trisurf/tsmgr.py
@@ -80,8 +80,7 @@
 
 		elif opt == '-k':
 			if processno:
-				p=psutil.Process(Runs[processno-1].getPID())
-				p.kill()
+				Runs[processno-1].stop()
 		else:
 			printHelp()
 			sys.exit(2)

--
Gitblit v1.9.3