Skip to content
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

fixed a bug in examples/webgl_demo #381

Merged
merged 2 commits into from
Nov 5, 2021
Merged

Conversation

iamnotstone
Copy link
Contributor

Can not restart the simulation after we first load that page.
the poseMessage in ammo.html or ammo.wasm.html may be called before ammo.js is initialized in web workers. So, I made a little change to fix this error.

Copy link
Owner

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

How about isReady instead of isNotify?

Also please remove the commented-out lines.

@iamnotstone
Copy link
Contributor Author

fixed

Copy link
Owner

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@kripken kripken merged commit 43cfc7f into kripken:main Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants