diff options
author | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-09-05 12:48:39 +0000 |
---|---|---|
committer | taw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1> | 2007-09-05 12:48:39 +0000 |
commit | e26c46cd662a8f9680668a661ad0214d04409480 (patch) | |
tree | ac2f3f0ee20d7cf6982d7f14b912d6c4bbb8c50f | |
parent | 9a696404c7473256598f1dd4253979feb95c9e83 (diff) |
Remove temporary stuff
git-svn-id: svn://cook.msm.cam.ac.uk:745/diff-tomo/dtr@118 bf6ca9ba-c028-0410-8290-897cf20841d1
-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); |