ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/ranimove2.c
(Generate patch)

Comparing ray/src/util/ranimove2.c (file contents):
Revision 3.10 by greg, Mon Apr 18 22:39:13 2016 UTC vs.
Revision 3.11 by greg, Sun Mar 29 02:55:01 2020 UTC

# Line 463 | Line 463 | refine_rays(           /* compute refinement rays */
463          i = 0;
464                                          /* trace rays in list */
465          for (rdone = 0; rdone < nrays; rdone++) {
466 <                if (ndtset && i >= 1000 && cerrmap[pord[i]] <= FTINY)
466 >                if (ndtset && (i >= 1000) & (i < ntodo) &&
467 >                                cerrmap[pord[i]] <= FTINY)
468                          ntodo = i;
469                  if (i >= ntodo) {       /* redo conspicuity & priority */
470                          while (ray_refine(-1) >= 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines