From 2876ee5b2b5632046b026f3bffd6df67d2d06ae9 Mon Sep 17 00:00:00 2001 From: Magnus Lundborg Date: Tue, 14 Jan 2014 16:39:05 +0100 Subject: Improved reading next frame. diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index 8e1e7ed..46fc042 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -16546,10 +16546,6 @@ tng_function_status DECLSPECDLLEXPORT tng_util_particle_data_next_frame_read { return(stat); } - if(tng_data->current_trajectory_frame_set_input_file_pos == frame_set_file_pos) - { - return(TNG_FAILURE); - } if(frame_set->prev_frame_set_file_pos != frame_set_file_pos) { stat = tng_num_frames_get(tng_data, &n_frames); @@ -16720,10 +16716,6 @@ tng_function_status DECLSPECDLLEXPORT tng_util_non_particle_data_next_frame_read { return(stat); } - if(tng_data->current_trajectory_frame_set_input_file_pos == frame_set_file_pos) - { - return(TNG_FAILURE); - } if(frame_set->prev_frame_set_file_pos != frame_set_file_pos) { tng_num_frames_get(tng_data, &n_frames); -- cgit v0.10.1