int nTotal = (thisMO > 0 ? 1 : nOrb);
int i0 = (nTotal == 1 && currentMO > 0 ? currentMO : 1);
for (int i = i0; i <= nOrb; i++)
if (thisMO == 0 || thisMO == i || !doOneMo && i == currentMO) {
if (!doOneMo) {
Parameters params = sg.getParams();
super.setProperty("init", params, null);
setOrbital(i);
}
jvxlData.moleculeXml = viewer.getModelCml(viewer.getModelUndeletedAtomsBitSet(thisMesh.modelIndex), 100, true);
if (!haveHeader) {