From 522bdf294bd506144395bb712c5d6b63b8f61f4a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 30 Jun 2011 16:02:38 +0200 Subject: partialator: Geometry is required before loading image data --- src/partialator.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/partialator.c') diff --git a/src/partialator.c b/src/partialator.c index 48c26d0f..ae13f147 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -317,7 +317,7 @@ int main(int argc, char *argv[]) RefList *as; - images[n_usable_patterns].det = NULL; + images[n_usable_patterns].det = det; if ( read_chunk(fh, &images[n_usable_patterns]) != 0 ) { /* Should not happen, because we counted the patterns @@ -336,7 +336,6 @@ int main(int argc, char *argv[]) /* Fill in initial estimates of stuff */ images[n_usable_patterns].div = beam->divergence; images[n_usable_patterns].bw = beam->bandwidth; - images[n_usable_patterns].det = det; images[n_usable_patterns].width = det->max_fs; images[n_usable_patterns].height = det->max_ss; images[n_usable_patterns].osf = 1.0; -- cgit v1.2.3