restore materials , use them to split mesh in groups for exporter