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

Set matrixNeedsUpdate after loading glTF model (WIP) #789

Closed
wants to merge 1 commit into from

Conversation

robertlong
Copy link
Contributor

@robertlong robertlong commented Dec 17, 2018

This fix ensures that objects in the scene have their matrices initialized on load. I'm still investigating why the old way didn't work sometimes and this does.

This bug can be reproduced with this scene:
https://localhost:8080/scene.html?scene_id=uw4R5Jz

ShadowExample.spoke.zip

@netpro2k
Copy link
Contributor

This is likely related to #801

We originally had to use the setAttribute calls here for some reason, though that may have changed. If it has we may be able to avoid the added weirdness.

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