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

Comparing ray/src/rt/rvmain.c (file contents):
Revision 2.15 by schorsch, Thu Mar 10 18:25:46 2016 UTC vs.
Revision 2.16 by schorsch, Sat Mar 19 12:51:36 2016 UTC

# Line 55 | Line 55 | static void onsig(int  signo);
55   static void sigdie(int  signo, char  *msg);
56   static void printdefaults(void);
57  
58
59 int
58   main(int argc, char *argv[])
59   {
60   #define  check(ol,al)           if (argv[i][ol] || \
# Line 230 | Line 228 | main(int argc, char *argv[])
228          
229          ray_init(octnm);                /* also calls ray_init_pmap() */
230          
231 + /* temporary shortcut, until winrview is refactored into a "device" */
232 + #ifndef WIN_RVIEW
233          rview();                        /* run interactive viewer */
234  
235 +
236          devclose();                     /* close output device */
237 + #endif
238  
239          /* PMAP: free photon maps */
240          ray_done_pmap();
241          
242 + #ifdef WIN_RVIEW
243 +        return 1;
244 + #endif
245          quit(0);
246  
247   badopt:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines