Vector3f translation = origin.getTranslation(null);
CellTransform avatarTransform = ViewManager.getViewManager().getPrimaryViewCell().getWorldTransform();
translation.y = avatarTransform.getTranslation(null).getY();
origin.setTranslation(translation);
exporter.exportCells(new Cell[] { selectedCell }, origin);
}//GEN-LAST:event_exportButtonActionPerformed
/**
* Applies the values stored in the GUI to the cell. Loops through each
* of the panels and tells them to apply().