同一模型创建不同Sprite3D实例,Animation在更新的时候
this._curAvatarNodeDatas=clip._getAvatarDataWithCache(this._avatar,this._cachePlayRate,frameIndex);
if (!this._curAvatarNodeDatas){
this._curAvatarNodeDatas=[];
this._curAvatarNodeDatas.length=this._avatarNodes.length;
clip._cacheAvatarData(this._avatar,this._cachePlayRate,frameIndex,this._curAvatarNodeDatas);
this._evaluateAvatarNodesCacheMode(avatarOwners,clip,clip._publicClipDatas,this._curAvatarNodeDatas,clip._unCachePropertyMap);
}
这个if只有第一个创建的能进去,导致其他后创建的实例AnimationNode的信息不更新,可以通过把_evaluateAvatarNodesCacheMode拿到判断外面来解决么?