aboutsummaryrefslogtreecommitdiff
path: root/src/indexamajig.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-07 11:27:16 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:17 +0100
commit3397bab94d8c495ffdaf74ff7de6a47f5a32df1a (patch)
tree92c7d637716d7085302516d1bd930a523a1ab9e8 /src/indexamajig.c
parentb6c119939fcd95041c48035b27ebceaa19a4812e (diff)
indexamajig: Use HDF5's camera length when requested
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r--src/indexamajig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index ea43cc7a..d896a2dc 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -208,7 +208,7 @@ static void process_image(void *pp, int cookie)
image.indexed_cell = NULL;
image.id = cookie;
image.filename = filename;
- image.det = pargs->static_args.det;
+ image.det = copy_geom(pargs->static_args.det);
STATUS("Processing '%s'\n", image.filename);
@@ -251,6 +251,7 @@ static void process_image(void *pp, int cookie)
return;
}
}
+ fill_in_values(image.det, hdfile);
if ( config_cmfilter ) {
filter_cm(&image);