Simplified switch statement
Minor fixes
Added freeing of cached data
Created testBSDF main module to demonstrate BSDF library
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.