From b01cc1ac677dc712c27337be8ee4f11ea336f31b Mon Sep 17 00:00:00 2001
From: Samo Penic <samo@andromeda>
Date: Sun, 05 Dec 2010 13:02:22 +0000
Subject: [PATCH] Fixed some nasty bugs. Still, I suspect the vertex neighbours are not correctly oriented or something, since tristar triangles are not successfully set. (tristar_no is not always the same as neigh_no!)

---
 src/cell.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/cell.c b/src/cell.c
index b3d90e4..26ce2d6 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -77,7 +77,7 @@
     cell->data->nvertex++;
 	cell->data->vertex=(ts_vertex **)realloc(cell->data->vertex,cell->data->nvertex*sizeof(ts_vertex *));
 		if(vtx->data->neigh == NULL){
-			fatal("Reallocation of memory failed during insertion of vertex neighbour in vertex_add_neighbour",3);
+			fatal("Reallocation of memory failed during insertion of vertex in cell_add_vertex",3);
         }
     cell->data->vertex[cell->data->nvertex-1]=vtx;
     return TS_SUCCESS;

--
Gitblit v1.9.3