From 408678b8e4d17fe390f76e78bc0bf7f05cbe38ef Mon Sep 17 00:00:00 2001 From: Magnus Lundborg Date: Wed, 4 Dec 2013 14:15:55 +0100 Subject: Fix bug setting first frame of data block. diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index 6e32ceb..11f512e 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -17192,11 +17192,6 @@ tng_function_status DECLSPECDLLEXPORT tng_util_generic_write { p_data->first_frame_with_data = frame_nr; } - else - { - p_data->first_frame_with_data = frame_set->first_frame; - } - memcpy((char *)p_data->values + sizeof(float) * frame_pos * n_particles * n_values_per_frame, values, sizeof(float) * n_particles * n_values_per_frame); -- cgit v0.10.1