summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Stitch.cxx3
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) {