IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 14, 2008, 4:48:54 PM (18 years ago)
Author:
bills
Message:

don't add -mask $image to command args unless an image was returned
from the lookup (ditto for weight)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstampparse.pl

    r19761 r20166  
    247247            }
    248248
    249             if ($option_mask & $PSTAMP_SELECT_MASK) {
     249            if (($option_mask & $PSTAMP_SELECT_MASK) &&  $image->{mask} ) {
    250250                $args .= " -mask $image->{mask}";
    251251            }
    252             if ($option_mask & $PSTAMP_SELECT_WEIGHT) {
     252            if (($option_mask & $PSTAMP_SELECT_WEIGHT) and $image->{weight} ) {
    253253                $args .= " -weight $image->{weight}";
    254254            }
Note: See TracChangeset for help on using the changeset viewer.