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

Comparing ray/src/rt/mx_func.c (file contents):
Revision 2.2 by greg, Mon Nov 25 09:50:56 1991 UTC vs.
Revision 2.3 by greg, Wed Jan 12 16:46:44 1994 UTC

# Line 54 | Line 54 | RAY  *r;
54          coef = evalue(mf->ep[0]);
55          if (errno) {
56                  objerror(m, WARNING, "compute error");
57 <                return;
57 >                return(0);
58          }
59 <        raymixture(r, mod[0], mod[1], coef);
59 >        if (raymixture(r, mod[0], mod[1], coef)) {
60 >                if (m->omod != OVOID)
61 >                        objerror(m, USER, "inappropriate modifier");
62 >                return(1);
63 >        }
64 >        return(0);
65   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines