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

Comparing ray/src/rt/rcmain.c (file contents):
Revision 2.6 by greg, Fri Jun 22 21:58:45 2012 UTC vs.
Revision 2.7 by greg, Fri Jun 22 22:03:02 2012 UTC

# Line 169 | Line 169 | main(int argc, char *argv[])
169                                  case 'n': case 'N': case 'f': case 'F': \
170                                  case '-': case '0': var = 0; break; \
171                                  default: goto badopt; }
172        int     nprocs = 1;
172          char    *curout = NULL;
173          char    *binval = NULL;
174          int     bincnt = 0;
# Line 336 | Line 335 | main(int argc, char *argv[])
335          nsceneobjs = nobjects;
336  
337          marksources();                  /* find and mark sources */
338 +        for (i = 0; i < nsources; i++)  /* tracing to sources as well */
339 +                source[i].sflags |= SFOLLOW;
340  
341          setambient();                   /* initialize ambient calculation */
342  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines