Пример #1
0
 public void read(JMEImporter e) throws IOException {
   InputCapsule capsule = e.getCapsule(this);
   target = (TriangleBatch) capsule.readSavable("target", null);
   if (target != null && target.parentGeom == null) {
     if (motherMesh == null) {
       motherMesh = new TriMesh("mother");
       motherMesh.clearBatches();
     }
     motherMesh.addBatch(target);
   }
   super.read(e);
 }