-
Notifications
You must be signed in to change notification settings - Fork 808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to latest threejs (r164) #4787
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@@ -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); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I believe there's another exporter.parse
in scene-graph.ts
as well - could you update that as well for consistency?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I'll take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elalish I don't believe the call in scene-graph.ts
needs to be altered as it's using the callback-based version of parse
. parse
previously used to support both a callback and Promise-based overload, but now the asynchronous version is called parseAsync
. ar.ts
await-ed the return, so it needed to be adjusted to use the new async version, but the call to parse
in scene-graph.ts
is callback-based.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, thanks.
Reference Issue
Fixes #4786