# | Line 612 | Line 612 | load_bsdf_rep(FILE *ifp) | |
---|---|---|
612 | if (ifp == NULL) | |
613 | return(0); | |
614 | if (getheader(ifp, headline, NULL) < 0 || (single_plane_incident < 0) | | |
615 | < | !input_orient | !output_orient) { |
615 | > | !input_orient | !output_orient | |
616 | > | (grid_res < 16) | (grid_res > 256)) { |
617 | fprintf(stderr, "%s: missing/bad format for BSDF interpolant\n", | |
618 | progname); | |
619 | return(0); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |