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

Comparing ray/src/util/rad.c (file contents):
Revision 2.96 by greg, Tue May 18 18:57:27 2010 UTC vs.
Revision 2.97 by greg, Fri May 28 17:29:14 2010 UTC

# Line 1400 | Line 1400 | rpict(                         /* run rpict and pfilt for each view */
1400                                  "%s%s %s%s -x 64 -y 64 -ps 1 %s > %s",
1401                                                  c_rpict, rep, vw, opts,
1402                                                  oct1name, overfile);
1403 +                                if (do_rpiece)
1404 +                                        while (children_running < nprocs-1 &&
1405 +                                                        next_process())
1406 +                                                sleep(5);
1407                                  if (runcom(combuf)) {
1408                                          fprintf(stderr,
1409                                          "%s: error in overture for view %s\n",
1410                                                  progname, vs);
1411                                          quit(1);
1412 +                                }
1413 +                                if (do_rpiece) {
1414 +                                        finish_process();
1415 +                                        wait_process(1);
1416                                  }
1417   #ifndef NULL_DEVICE
1418                                  rmfile(overfile);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines