You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that tresjs helped me realize the dispose of resources, so I import vue-router in the Demo, hoping to use vue's life cycle components to help me switch scenes without worrying about resources not being disposed in time. But after I changed the routerView by url, the model in the scene finished changing, but the HTML still stayed on the page. I think this may due to createRenderer or nodeops dispose component and its child before the lifecycle hooks execute。
Describe the bug
I noticed that tresjs helped me realize the
dispose
of resources, so I importvue-router
in the Demo, hoping to use vue's life cycle components to help me switch scenes without worrying about resources not being disposed in time. But after I changed the routerView by url, the model in the scene finished changing, but the HTML still stayed on the page. I think this may due tocreateRenderer
or nodeopsdispose
component and its child before the lifecycle hooks execute。Reproduction
https://stackblitz.com/~/github.com/hexianWeb/tresjs-playground
Steps to reproduce
System Info
No response
Used Package Manager
pnpm
Code of Conduct
The text was updated successfully, but these errors were encountered: