Added ability to set material otf file to None