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
a select is meant to swap between sets of objects in the scene.
when the code has a comment on the first line of the template, objects are added to the scene, the old ones are not removed.
run the stackblitz.
change the select to 'donuts 1', a second set of donuts is added to the scene.
delete the comment in the template (Donut.vue) and refresh the view
this time when switching using the select, the scene objects are changed, not added
Describe the bug
a select is meant to swap between sets of objects in the scene.
when the code has a comment on the first line of the template, objects are added to the scene, the old ones are not removed.
Reproduction
https://stackblitz.com/edit/tresjs-basic-hmkhgf?file=src%2Fcomponents%2FDonut.vue
Steps to reproduce
run the stackblitz.
change the select to 'donuts 1', a second set of donuts is added to the scene.
delete the comment in the template (Donut.vue) and refresh the view
this time when switching using the select, the scene objects are changed, not added
System Info
No response
Used Package Manager
npm
Code of Conduct
The text was updated successfully, but these errors were encountered: