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

Comparing ray/src/common/bsdf.c (file contents):
Revision 2.9 by greg, Mon Jan 3 19:27:00 2011 UTC vs.
Revision 2.10 by greg, Thu Jan 6 04:36:16 2011 UTC

# Line 526 | Line 526 | load_BSDF(             /* load BSDF data from file */
526                  return(NULL);
527          }
528          wtl = ezxml_child(ezxml_child(fl, "Optical"), "Layer");
529 +        if (strcasecmp(ezxml_txt(ezxml_child(ezxml_child(wtl,
530 +                        "DataDefinition"), "IncidentDataStructure")),
531 +                        "Columns")) {
532 +                sprintf(errmsg,
533 +                        "BSDF \"%s\": unsupported IncidentDataStructure",
534 +                                path);
535 +                error(WARNING, errmsg);
536 +                ezxml_free(fl);
537 +                return(NULL);
538 +        }              
539          load_angle_basis(ezxml_child(ezxml_child(wtl,
540                                  "DataDefinition"), "AngleBasis"));
541          dp = (struct BSDF_data *)calloc(1, sizeof(struct BSDF_data));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines