aboutsummaryrefslogtreecommitdiff
path: root/src/ipr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipr.c')
-rw-r--r--src/ipr.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ipr.c b/src/ipr.c
index d4ba238..25078dd 100644
--- a/src/ipr.c
+++ b/src/ipr.c
@@ -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);