summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-12-04 13:15:55 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-12-04 13:15:55 (GMT)
commit408678b8e4d17fe390f76e78bc0bf7f05cbe38ef (patch)
tree6d0b23e733dba89774a3ac1d725f432766f322eb
parent139e5d56398f445b62caff63c030081d1c24354f (diff)
Fix bug setting first frame of data block.
-rw-r--r--src/lib/tng_io.c5
1 files changed, 0 insertions, 5 deletions
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);
contact: Jan Huwald // Impressum