if (((KeyframeInfoChunk)keyframes.objKeyframes.get(spatialNodesNames.get(objectIndex)))==null)
if (keyframes.objKeyframes.get(spatialNodesNames.get(objectIndex)) ==null)
    private int getParentIndex(int objectIndex) {        if (((KeyframeInfoChunk)keyframes.objKeyframes.get(spatialNodesNames.get(objectIndex)))==null)            return -2;        short parentID=((KeyframeInfoChunk)keyframes.objKeyframes.get(spatialNodesNames.get(objectIndex))).parent;        if (parentID==-1) return -1;        Object[] objs=keyframes.objKeyframes.keySet().toArray();        for (int i=0;i<objs.length;i++){            if (((KeyframeInfoChunk)keyframes.objKeyframes.get(objs[i])).myID==parentID)                return i;        }        throw new JmeException("Logic error.  Unknown parent ID for " + objectIndex);    }