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

Comparing ray/src/rt/pmapio.c (file contents):
Revision 2.9 by rschregle, Tue May 17 17:39:47 2016 UTC vs.
Revision 2.10 by rschregle, Mon Aug 14 21:12:10 2017 UTC

# Line 34 | Line 34 | void savePhotonMap (const PhotonMap *pmap, const char
34        return;
35     }
36        
37 <   if (photonRepTime) {
37 >   if (verbose) {
38        if (pmap -> numPrimary)
39 <         sprintf(errmsg, "Saving %s (%ld photons, %d primaries)...\n",
39 >         sprintf(errmsg, "Saving %s (%ld photons, %d primaries)\n",
40                   fname, pmap -> numPhotons, pmap -> numPrimary);
41 <      else sprintf(errmsg, "Saving %s (%ld photons)...\n", fname,
41 >      else sprintf(errmsg, "Saving %s (%ld photons)\n", fname,
42                     pmap -> numPhotons);
43                    
44        eputs(errmsg);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines