ObjectLoader: fix for materials without textures