public void read(JMEImporter e) throws IOException {
   super.read(e);
   InputCapsule capsule = e.getCapsule(this);
   patch = (BezierPatch) capsule.readSavable("patch", null);
 }
 public void write(JMEExporter e) throws IOException {
   super.write(e);
   OutputCapsule capsule = e.getCapsule(this);
   capsule.write(patch, "patch", null);
 }