ArraySet thisMat=(ArraySet) materialSets.get(curGroup); IndexSet first=new IndexSet(parts[1]); int firstIndex=thisMat.findSet(first); IndexSet second=new IndexSet(parts[2]); int secondIndex=thisMat.findSet(second); IndexSet third=new IndexSet(); for (int i=3;i<parts.length;i++){
ArraySet thisMat = (ArraySet) materialSets.get(curGroup); if (thisMat.objName == null && curObjectName != null) thisMat.objName = curObjectName; IndexSet first = new IndexSet(parts[1]); int firstIndex = thisMat.findSet(first); IndexSet second = new IndexSet(parts[2]); int secondIndex = thisMat.findSet(second); IndexSet third = new IndexSet(); for (int i = 3; i < parts.length; i++) {
    private void addFaces(String[] parts) {        ArraySet thisMat=(ArraySet) materialSets.get(curGroup);        IndexSet first=new IndexSet(parts[1]);        int firstIndex=thisMat.findSet(first);        IndexSet second=new IndexSet(parts[2]);        int secondIndex=thisMat.findSet(second);        IndexSet third=new IndexSet();        for (int i=3;i<parts.length;i++){            third.parseStringArray(parts[i]);            thisMat.indexes.add(new Integer(firstIndex));            thisMat.indexes.add(new Integer(secondIndex));            int thirdIndex=thisMat.findSet(third);            thisMat.indexes.add(new Integer(thirdIndex));        }    }