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

Comparing ray/src/rt/raytrace.c (file contents):
Revision 2.13 by greg, Mon Jan 24 11:51:31 1994 UTC vs.
Revision 2.14 by greg, Tue Jan 25 10:18:25 1994 UTC

# Line 98 | Line 98 | RAY  *r;
98          else if (sourcehit(r))
99                  gotmat = rayshade(r, r->ro->omod);
100  
101 <        if (!gotmat)
101 >        if (r->ro != NULL && !gotmat)
102                  objerror(r->ro, USER, "material not found");
103  
104          if (trace != NULL)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines