From 144784496550cccc927607be8edc487af7aa851f Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Mon, 24 Mar 2014 08:53:44 +0000
Subject: [PATCH] Fix.

---
 src/timestep.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/timestep.c b/src/timestep.c
index d631d42..3369b9f 100644
--- a/src/timestep.c
+++ b/src/timestep.c
@@ -11,6 +11,7 @@
 
 ts_bool run_simulation(ts_vesicle *vesicle, ts_uint mcsweeps, ts_uint inititer, ts_uint iterations, ts_uint start_iteration){
 	ts_uint i, j;
+ 	char filename[255];
 
 	centermass(vesicle);
 	cell_occupation(vesicle);
@@ -25,6 +26,8 @@
             dump_state(vesicle,i);
 		if(i>=inititer){
 			write_vertex_xml_file(vesicle,i-inititer);
+		//	sprintf(filename,"timestep-%05d.pov",i-inititer);
+			write_pov_file(vesicle,filename);
 		}
 	}
 	return TS_SUCCESS;

--
Gitblit v1.9.3