diff options
author | Thomas White <taw27@cam.ac.uk> | 2009-05-26 13:08:29 +0100 |
---|---|---|
committer | Thomas White <taw27@cam.ac.uk> | 2009-05-26 13:08:29 +0100 |
commit | 3a48ecf44b1547559e8a036f2c08e198d3a2b51b (patch) | |
tree | ec8483c0f05fa99747672fa8c64ab691930abc80 | |
parent | 6a6880bca8d79020162d915a15576a6eed4bd2cf (diff) |
Preserve my sanity by displaying the angle for the current image
-rw-r--r-- | src/displaywindow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/displaywindow.c b/src/displaywindow.c index 1ffd95e..b3643ac 100644 --- a/src/displaywindow.c +++ b/src/displaywindow.c @@ -562,6 +562,9 @@ void displaywindow_update_imagestack(DisplayWindow *dw) { /* Don't attempt to update the image stack if the stack doesn't exist */ if ( dw->ctx->images->n_images == 0 ) return; + double ang = dw->ctx->images->images[dw->cur_image].tilt; + printf("The angle is %f\n", rad2deg(ang)); + imagedisplay_clear_marks(dw->stack); imagedisplay_put_data(dw->stack, dw->ctx->images->images[dw->cur_image]); |