}
if (!isOK) {
Logger.error("Cannot export " + type);
return null;
}
g3dExport.renderBackground();
for (int i = 0; i < JmolConstants.SHAPE_MAX; ++i) {
Shape shape = shapeManager.getShape(i);
if (shape != null)
getRenderer(i, g3d).render(g3dExport, modelSet, shape);
}