diff options
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r-- | libcrystfel/src/detector.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index 1897ed49..6df88eaa 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -1787,6 +1787,10 @@ struct detector *copy_geom(const struct detector *in) if ( &in->panels[i] == in->furthest_out_panel ) { out->furthest_out_panel = &out->panels[i]; } + if ( &in->panels[i] == in->furthest_in_panel ) { + out->furthest_in_panel = &out->panels[i]; + } + } |