diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/make_pixelmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make_pixelmap.c b/src/make_pixelmap.c index 099ba79f..577c1a1a 100644 --- a/src/make_pixelmap.c +++ b/src/make_pixelmap.c @@ -330,7 +330,7 @@ int main(int argc, char *argv[]) y[fs + w*ss] = ry; z[fs + w*ss] = 0.0; /* 2D part only */ - if ( data_template_in_bad_region(dtempl, pn, cfs, css) ) { + if ( image->bad[pn][fs + w*ss] ) { b[fs + w*ss] = bad_pixel_val; } else { b[fs + w*ss] = good_pixel_val; |