| # | Line 199 | Line 199 | getviewpix( /* compute single view pixel */ | |
|---|---|---|
| 199 | npixinvw++; | |
| 200 | if ((res = pict_val(dir)) >= 0.0) | |
| 201 | return(res); | |
| 202 | < | if (rt_pd.r == -1) { |
| 202 | > | if (!(rt_pd.flags & PF_RUNNING)) { |
| 203 | npixmiss++; | |
| 204 | return(-1.0); | |
| 205 | } | |
| # | Line 240 | Line 240 | getviewspan( /* compute a span of view pixels */ | |
| 240 | npixinvw++; | |
| 241 | if ((vb[vh+hsize] = pict_val(dir)) >= 0.0) | |
| 242 | continue; | |
| 243 | < | if (rt_pd.r == -1) { /* missing information */ |
| 243 | > | if (!(rt_pd.flags & PF_RUNNING)) { /* missing information */ |
| 244 | npixmiss++; | |
| 245 | continue; | |
| 246 | } | |
| # | Line 376 | Line 376 | done_rtrace(void) /* wait for rtrace to finish */ | |
| 376 | progname, status); | |
| 377 | exit(1); | |
| 378 | } | |
| 379 | – | rt_pd.r = -1; |
| 379 | } | |
| 380 | ||
| 381 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |