Fixed bug when using refraction closure from OSL.
Merge pull request #445 from est77/master

Fixed bug when using refraction closure from OSL.