@SuppressWarnings("unchecked") public void read(JMEImporter e) throws IOException { super.read(e); InputCapsule cap = e.getCapsule(this); skins = (Node) cap.readSavable("skins", null); Bone readSkeleton = (Bone) cap.readSavable("skeleton", null); connectionPoints = cap.readSavableArrayList("connectionPoints", null); cache = cap.readSavableArrayListArray2D("cache", null); Savable sav = cap.readSavable("geometryRegions", null); if (sav != null) geometryRegions = (StringStringMap) sav; if (readSkeleton != null) { setSkeleton(readSkeleton); regenInfluenceOffsets(); skeleton.addBoneListener(this); } updateWorldBound(); }