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

Comparing ray/src/hd/rholo.c (file contents):
Revision 3.71 by greg, Fri Dec 16 21:43:07 2005 UTC vs.
Revision 3.72 by greg, Wed Dec 21 07:26:29 2005 UTC

# Line 534 | Line 534 | loadholo(void)                 /* start loading a holodeck from fnam
534                          error(SYSTEM, errmsg);
535                  }
536                  if (ncprocs > 0) {
537 <                        sprintf(errmsg,
538 <                        "\"%s\" opened read-only; new rays will be discarded",
539 <                                        hdkfile);
537 >                        sprintf(errmsg, "\"%s\" is read-only", hdkfile);
538 >                        if (outdev == NULL)
539 >                                error(USER, errmsg);
540 >                        strcat(errmsg, "; new rays will be discarded");
541                          error(WARNING, errmsg);
542                          force = -1;
543                  }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines