for( int n = 0; n < m.faceMats(); n++ ){
FaceMat3ds fmat = m.faceMat( n );
logger.debug(" FaceMat ID: " + fmat.matIndex() );
logger.debug(" FaceMat indices: " + fmat.faceIndexes());
int[] faceIndicesForMaterial = fmat.faceIndex();
if (faceIndicesForMaterial.length <= 0){
continue;
}
//Check if there already is a group with the same material