diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-07-03 17:53:00 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2008-07-03 17:53:00 +0200 |
commit | d8e56b177be463551ebb4f90b66aa728d68d2f97 (patch) | |
tree | 819fff1a952f1c797a6a419d29ed7186741ef793 | |
parent | c79baa853f258ef78a8205b27c1708f347e23340 (diff) |
optimize stitch preview
-rw-r--r-- | src/Stitch.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Stitch.cxx b/src/Stitch.cxx index e4f3d60..65a838e 100644 --- a/src/Stitch.cxx +++ b/src/Stitch.cxx @@ -116,6 +116,9 @@ Stitch::resample(GipfelWidget::sample_mode_t m, a_view = view_start + x * step_view; merged_pixel_set = 0; for (int i = 0; i < num_pics; i++) { + if (merged_pixel_set && !single_images[i]) + continue; + if (gipf[i]->get_pixel(m, a_view, a_nick, &r, &g, &b) == 0) { |