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

WebGLRenderer rendering to multiple <canvas> elements example broken due to last changes #159

Closed
vatro opened this issue Sep 2, 2022 · 0 comments · Fixed by #184
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@vatro
Copy link
Owner

vatro commented Sep 2, 2022

commenting out these fixes it:

// if the `current_cam` instance is not being managed by a component (anymore),
// it means a new (premade) camera instance was injected via `camera` attribute,
// so the `current_cam` reference needs to be updated.
if (!current_cam.userData.svelthreeComponent) set_current_cam()

if ($svelthreeStores[sti].canvas.interactive) {

Examine + Fix!

@vatro vatro added the bug Something isn't working label Sep 2, 2022
@vatro vatro added this to the 1.0.0-next.1 milestone Sep 2, 2022
@vatro vatro self-assigned this Sep 2, 2022
This was referenced Nov 2, 2022
@vatro vatro closed this as completed in #184 Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant