71 |
|
echo "Cannot read $picture" |
72 |
|
exit 1 |
73 |
|
endif |
74 |
< |
set fgargs=($fgargs -p $picture -vf $picture) |
74 |
> |
set fgargs=($fgargs -p $picture) |
75 |
> |
if ( "$view" != "" ) then |
76 |
> |
set view=(-vf $picture $view) |
77 |
> |
endif |
78 |
|
endif |
79 |
|
set fgargs=($fgargs $view) |
80 |
|
if ( $octree != $nofile ) then |
138 |
|
echo "Starting calculation..." |
139 |
|
echo findglare $fgargs |
140 |
|
findglare $fgargs > $glarefile |
141 |
+ |
if ($status) then |
142 |
+ |
echo "Uh-oh. Something went wrong with findglare\!" |
143 |
+ |
rm $glarefile |
144 |
+ |
exit 1 |
145 |
+ |
endif |
146 |
|
endif |
147 |
|
if ($?DISPLAY && $picture != $nofile) then |
148 |
|
echo "" |