aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-09-05 12:48:39 +0000
committertaw27 <taw27@bf6ca9ba-c028-0410-8290-897cf20841d1>2007-09-05 12:48:39 +0000
commite26c46cd662a8f9680668a661ad0214d04409480 (patch)
treeac2f3f0ee20d7cf6982d7f14b912d6c4bbb8c50f
parent9a696404c7473256598f1dd4253979feb95c9e83 (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.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);