Changeset 25793 for trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
- Timestamp:
- Oct 7, 2009, 1:05:22 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm
r25776 r25793 128 128 } 129 129 130 sub lookup { 130 sub lookup 131 { 131 132 my $ipprc = shift; 132 133 my $image_db = shift; … … 296 297 297 298 # if uri is nil this will get overridded below 298 # ( this isfor raw stage)299 # (we do this here for raw stage) 299 300 $out->{image} = $image->{uri}; 300 301 if ($set_class_id) { … … 302 303 $out->{component} = $class_id; 303 304 } 305 my $stage_id; 306 if ($img_type eq "raw") { 307 $stage_id = $image->{exp_id}; 308 } elsif ($img_type eq "chip") { 309 $stage_id = $image->{chip}; 310 } elsif ($img_type eq "warp") { 311 $stage_id = $image->{warp_id}; 312 } elsif ($img_type eq "diff") { 313 $stage_id = $image->{diff_id}; 314 } elsif ($img_type eq "stack") { 315 $stage_id = $image->{stack_id}; 316 } 317 $image->{stage_id} = $stage_id; 318 $image->{stage} = $img_type; 319 $image->{image_db} = $image_db; 304 320 305 321 # find the mask and weight images 306 322 if ($base) { 307 $out->{image} = $ipprc->filename($image_name, $base, $class_id) if $image_name;323 $out->{image} = $ipprc->filename($image_name, $base, $class_id) if $image_name; 308 324 $out->{mask} = $ipprc->filename($mask_name, $base, $class_id) if $mask_name; 309 325 $out->{weight} = $ipprc->filename($weight_name, $base, $class_id) if $weight_name;
Note:
See TracChangeset
for help on using the changeset viewer.
