summaryrefslogtreecommitdiff
path: root/src/gipfel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r--src/gipfel.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 23a5c5f..e9743d8 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -568,10 +568,6 @@ stitch(GipfelWidget::sample_mode_t m,
st->load_image(argv[i]);
}
- if (type & STITCH_VIGNETTE_CALIB) {
- st->color_calib(m, stitch_w, stitch_h, from, to);
- //st->vignette_calib(m, stitch_w, stitch_h, from, to);
- }
if (type & STITCH_JPEG) {
@@ -604,6 +600,9 @@ stitch(GipfelWidget::sample_mode_t m,
win->show(0, argv);
st->set_output((OutputImage*) img);
+ if (type & STITCH_VIGNETTE_CALIB) {
+ st->vignette_calib(m, stitch_w, stitch_h, from, to);
+ }
st->resample(m, stitch_w, stitch_h, from, to);
img->redraw();