Fixes exofabs infinity materials

This is what qdel does to the old code
Merge pull request #3155 from Razharas/ExofabFix

Fixes exofabs infinity materials