diff options
Diffstat (limited to 'src/ipr.c')
-rw-r--r-- | src/ipr.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -254,7 +254,6 @@ static gint ipr_clicked(GtkWidget *widget, GdkEventButton *event, ControlContext imagedisplay_clear_circles(ctx->ipr_id); reflection_clear_markers(ctx->reflectionctx); - ctx->images[ctx->ipr_cur_image].omega = 30; /* Temporary! */ refl = reproject_get_reflections(ctx->images[ctx->ipr_cur_image], &n, ctx->ipr_lat, ctx); for ( j=0; j<n; j++ ) { imagedisplay_mark_circle(ctx->ipr_id, refl[j].x, refl[j].y); @@ -286,8 +285,8 @@ int ipr_refine(ControlContext *ctx) { ImageReflection *refl; /* Select an image */ - ctx->ipr_cur_image = ipr_random_image(ctx); - ctx->ipr_cur_image = 0; + ctx->ipr_cur_image = 0;//ipr_random_image(ctx); Temporary! + ctx->ipr_id = imagedisplay_open_with_message(ctx->images[ctx->ipr_cur_image], "Current Image", "Click to change image", IMAGEDISPLAY_SHOW_CENTRE | IMAGEDISPLAY_SHOW_TILT_AXIS, G_CALLBACK(ipr_clicked), ctx); |