Skip to content

Commit

Permalink
parse was renamed to parseAsync
Browse files Browse the repository at this point in the history
  • Loading branch information
aardvarkk committed May 21, 2024
1 parent eab9eba commit ca9aa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/model-viewer/src/features/ar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ configuration or device capabilities');
model.position.copy(target.position);
model.updateWorldMatrix(false, true);

const arraybuffer = await exporter.parse(model);
const arraybuffer = await exporter.parseAsync(model);

model.position.set(0, 0, 0);
target.add(model);
Expand Down

0 comments on commit ca9aa2c

Please sign in to comment.