Changeset 1491 for trunk/core/raw.c


Ignore:
Timestamp:
12/17/11 03:19:23 (18 months ago)
Author:
philmoz
Message:

Fix - DNG save option overrides 'Bad pixel removal' option even if CHDK RAW files are not being saved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/raw.c

    r1414 r1491  
    369369    int val; 
    370370    if ((x>=2) && (x<CAM_RAW_ROWPIX-2) && (y>=2) && (y<CAM_RAW_ROWS-2)) { 
    371         if ((conf.bad_pixel_removal==1) || conf.dng_raw) {  // interpolation or DNG saving 
     371        if ((conf.bad_pixel_removal==1) || (conf.save_raw && conf.dng_raw)) {  // interpolation or DNG saving 
    372372            for (i=-2; i<=2; i+=2) 
    373373                for (j=-2; j<=2; j+=2) 
Note: See TracChangeset for help on using the changeset viewer.