Skip to content

Commit fa08e54

Browse files
yutingyefacebook-github-bot
authored andcommitted
Update downstream callsites to use saveGltfCharacter (#769)
Summary: Update example applications to use `saveGltfCharacter()`. Differential Revision: D86017756
1 parent a890f1a commit fa08e54

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

momentum/examples/animate_shapes/animate_shapes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ int main(int argc, char* argv[]) {
8787
}
8888

8989
// save the result
90-
saveCharacter(
90+
saveGltfCharacter(
9191
options->outFile,
9292
character,
9393
20.f,

momentum/examples/convert_model/convert_model.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,15 +221,15 @@ int main(int argc, char** argv) {
221221
} else if (oextension == ".glb" || oextension == ".gltf") {
222222
MT_LOGI("Saving gltf/glb file...");
223223
if (hasMotion) {
224-
saveCharacter(
224+
saveGltfCharacter(
225225
options->output_model_file,
226226
character,
227227
fps,
228228
{character.parameterTransform.name, poses},
229229
{character.skeleton.getJointNames(), offsets},
230230
markerSequence.frames);
231231
} else {
232-
saveCharacter(options->output_model_file, character);
232+
saveGltfCharacter(options->output_model_file, character);
233233
}
234234
}
235235
if (!options->output_locator_local.empty()) {

0 commit comments

Comments
 (0)