private void startSubmeshName(String indexStr, String nameStr) {
        int index = Integer.parseInt(indexStr);
        if (index >= geoms.size()) {
            logger.log(Level.WARNING, "Submesh name index is larger than number of geometries: {0} >= {1}",
                    new Object[]{index, geoms.size()});
        } else {
            geoms.get(index).setName(nameStr);
        }
    }
Normalizes weights if needed and finds largest amount of weights used for
all vertices in the buffer.
jme3-plugins/src/ogre/java/com/jme3/scene/plugins/ogre/MeshLoader.java