From f5b3c4db36fabb2c4482bb512fb9a8f1adde6411 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 2 Sep 2020 16:42:15 +0200 Subject: Get rid of STREAM_IMAGE_DATA No longer needed, and didn't fit very well in the first place. --- libcrystfel/src/stream.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'libcrystfel/src/stream.c') diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c index f4f757f3..e4c3b333 100644 --- a/libcrystfel/src/stream.c +++ b/libcrystfel/src/stream.c @@ -991,14 +991,7 @@ struct image *stream_read_chunk(Stream *st, StreamFlags srf) if ( have_filename && have_ev ) { /* Success */ create_detgeom(image, st->dtempl); - if ( srf & STREAM_IMAGE_DATA ) { - image_read_image_data(image, - st->dtempl, - image->filename, - image->ev); - } else { - image_set_zero_data(image, st->dtempl); - } + image_set_zero_data(image, st->dtempl); image_set_zero_mask(image, st->dtempl); return image; } -- cgit v1.2.3