aboutsummaryrefslogtreecommitdiff
path: root/src/refine.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/refine.c')
-rw-r--r--src/refine.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/refine.c b/src/refine.c
index 9b901d0..812d5a5 100644
--- a/src/refine.c
+++ b/src/refine.c
@@ -279,8 +279,11 @@ static gint refine_step(GtkWidget *step_button, ControlContext *ctx) {
ImageFeature *fitted;
fitted = refine_fit_image(ctx->cell, &ctx->images->images[ctx->reproject_cur_image], ctx->cell_lattice);
+
+ ctx->images->images[ctx->reproject_cur_image].rflist = NULL;
reproject_lattice_changed(ctx);
displaywindow_update(ctx->dw);
+
if ( fitted ) {
imagedisplay_add_mark(ctx->reproject_id, fitted->x,fitted->y, IMAGEDISPLAY_MARK_CIRCLE_3);
}
@@ -306,7 +309,7 @@ static int refine_sequence_sweep(ControlContext *ctx, double *fit, double *warp)
/* Ensure lattice is up to date */
reproject_lattice_changed(ctx);
ctx->images->images[i].rflist = NULL; /* Invalidate reprojection for this image - it's wrong */
-
+
if ( is_odd(i) ) {
/* Odd-numbered images: measure */