This commit is contained in:
Nick Fisher
2023-04-21 08:44:54 +08:00
parent 3707b7f49b
commit 76c7f78e3f

View File

@@ -246,7 +246,6 @@ void AssetManager::updateAnimations() {
frameNumber = lengthInFrames - frameNumber;
}
Log("setting weights for framenumber %d, elapsed is %f, lengthInFrames is %d, mNumMorphWeights %d", frameNumber, elapsed, lengthInFrames,asset.mMorphAnimationBuffer.mNumMorphWeights );
// set the weights appropriately
rm.setMorphWeights(
rm.getInstance(asset.mMorphAnimationBuffer.mMeshTarget),