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

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

# Line 71 | Line 71 | RAY  *r;
71          coef = funvalue(m->oargs.sarg[2], 1, &coef);
72          if (errno)
73                  goto computerr;
74 <        raymixture(r, mod[0], mod[1], coef);
75 <        return;
74 >        if (raymixture(r, mod[0], mod[1], coef)) {
75 >                if (m->omod != OVOID)
76 >                        objerror(m, USER, "inappropriate modifier");
77 >                return(1);
78 >        }
79 >        return(0);
80   computerr:
81          objerror(m, WARNING, "compute error");
82 +        return(0);
83   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines