From 84af719f37b54185ddd7daf0627421143874905c Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sun, 24 Nov 2013 12:05:41 +0000
Subject: [PATCH] ASK MIHAparaview ! Bug fixed, by removing cell change.

---
 src/vertexmove.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/vertexmove.c b/src/vertexmove.c
index 60c8f71..a597958 100644
--- a/src/vertexmove.c
+++ b/src/vertexmove.c
@@ -114,13 +114,18 @@
     return TS_FAIL; 
     }
 }
-		
+
+//TODO: IS THAT REALLY NECESSARY?
+
+/*		
 	if(vtx->cell!=vesicle->clist->cell[cellidx]){
 		pthread_mutex_lock(&vesicle->mutex->cell_modify);
 		retval=cell_add_vertex(vesicle->clist->cell[cellidx],vtx);
 		if(retval==TS_SUCCESS) cell_remove_vertex(backupvtx[0].cell,vtx);
 		pthread_mutex_unlock(&vesicle->mutex->cell_modify);
 	}
+*/
+
     //END MONTE CARLOOOOOOO
     return TS_SUCCESS;
 }

--
Gitblit v1.9.3