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

Comparing ray/src/rt/preload.c (file contents):
Revision 2.14 by greg, Fri Jul 14 23:19:32 2017 UTC vs.
Revision 2.15 by greg, Mon Jun 25 20:49:10 2018 UTC

# Line 110 | Line 110 | load_os(                       /* load associated data for object */
110                  sd = loadBSDF(op->oargs.sarg[1]);
111                  if (sd != NULL) SDfreeCache(sd);
112                  return(1);
113 +        case MAT_SBSDF:         /* sBSDF material */
114 +                if (op->oargs.nsargs < 5)
115 +                        goto sargerr;
116 +                getfunc(op, 4, 0xe, 1);
117 +                sd = loadBSDF(op->oargs.sarg[0]);
118 +                if (sd != NULL) SDfreeCache(sd);
119 +                return(1);
120          case MAT_PDATA:         /* plastic BRDF data */
121          case MAT_MDATA:         /* metal BRDF data */
122          case MAT_TDATA:         /* trans BRDF data */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines