Fix T40032: hair BSDF not working correct after primitive type code refactoring.
Fix T40032: hair BSDF not working correct after primitive type code refactoring.

pyrochlore/cycles,pyrochlore/cycles,tangent-opensource/coreBlackbird,tangent-opensource/coreBlackbird,tangent-opensource/coreBlackbird,pyrochlore/cycles