Set *sampledType in BSDF::Sample_f() even when sampling fails, to fix valgrind warning.
Set *sampledType in BSDF::Sample_f() even when sampling fails, to fix valgrind warning.
patwonder/pbrt-v2-skin,patwonder/pbrt-v2-skin,patwonder/pbrt-v2-skin,patwonder/pbrt-v2-skin,patwonder/pbrt-v2-skin