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

Comparing ray/src/rt/func.c (file contents):
Revision 2.37 by greg, Sat Mar 14 16:25:46 2020 UTC vs.
Revision 2.38 by greg, Thu Apr 2 18:00:34 2020 UTC

# Line 299 | Line 299 | l_arg(char *nm)                        /* return nth real argument */
299          int  n;
300  
301          if (fobj == NULL)
302 <                error(INTERNAL, "arg(n) called without a modifier context");
302 >                error(USER,
303 >                        "bad call to arg(n) - illegal constant in .cal file?");
304  
305          n = argument(1) + .5;           /* round to integer */
306  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines