Revert adding APIs

This commit is contained in:
daemyung jang
2022-02-08 10:31:17 -08:00
committed by Mathias Agopian
parent 1924810c17
commit 0d2faa4573
4 changed files with 4 additions and 12 deletions
+3 -1
View File
@@ -546,7 +546,9 @@ void FAssetLoader::createRenderable(const cgltf_data* srcAsset, const cgltf_node
// TODO: Set morph target buffers via builder.
outputPrim = mResult->mMeshCache[mesh].data();
for (cgltf_size index = 0; index < nprims; ++index, ++outputPrim) {
mRenderableManager.setMorphTargetBufferAt(renderable, 0, index, outputPrim->targets);
MorphTargetBuffer* const morphTargetBuffer = outputPrim->targets;
mRenderableManager.setMorphTargetBufferAt(renderable, 0, index, morphTargetBuffer,
morphTargetBuffer->getVertexCount());
}
}
}